Why only in these particular writings? There were hundreds of other Christian writings. Why are these and not others, Scripture?
Why? Because, well, because. Maybe because the Holy Spirit guided the Councils of the Church? Well, only if we pretend that they were never “Catholic”!
By the apostles who Jesus said would be given the Holy Spirit to bring to their remembrance and who Paul cautioned to be the only ones to listen to?