I have worked with IT consulting for the government (in Brazil), and if the software needs of the american government are similar to the Brazilian ones, you can't compare twitter, instagram, etc. with this! They are completely different kinds of software, governmental softwares have tons of integration with old COBOL systems that runs millions of sensible data, and tons of requirements, really, pages and pages of different use case scenarios. Governmental software require more man-hours than successful start ups, even when they work and succeed as a project. The "MVP" of a governmental system is huge.
Now, don't get me wrong. the price is absurd, this example is clearly a total failure. It's just that this article compare apples to oranges.