There’s strategic bidding as well. Specifications cannot cover every conceivable occurrence over the course of a 4 year construction project, so contractors can structure their bid to be low upfront with big pick ups later for change orders when issues arise.
Only a if the government people in charge care and know. My friends in the federal contracting space are either starving or backing the truck up and looting the place.