Usually they are either former government employees or contractors who incorporate their own 1-2 person “engineering consulting firm” that can then sell services back to the government at high rate.
The financial benefits are usually quite extensive for the engineers involved, because there is nowhere else to obtain supply of the needed skills.