Part of the reason military equipment is so very expensive is the labyrinth of requirements and verifications. Military contract work suffering from the same problems would require a lot of straight up fraud and document forging which is different that what seems to be happening to the commercial unit which is more laziness and corner cutting. Like there is a MIL-SPEC for pop-tarts that specifies how much filling there is and frosting coverage (finding stupid MIL-SPECs was great fun as a group of interns at Lockheed Martin, also reply-all email chains of memes which started causing outlook server problems before we were gently encouraged to stop)
The FAA shares a lot of blame for these problems by being negligent in their verification duties and delegating them to the companies they are verifying.