I hope this doesn’t sound smart alecky, but the answer is: Because they weren’t considered divinely inspired, or “God breathed” as some of our Protestant brothers and sisters would call it. Good literature, perhaps, but divine–no. Not all of Paul’s, or Peter’s, writings were divine scripture. . .the Holy Spirit enabled the Church to authentically and infallibly discern exactly which works from the Jewish tradition (Old Testament) and which works of the apostles (New Testament) were divinely inspired Scripture, and which were not.
The works you give were NOT divine Scripture. Roma locuta est.