This has been happening to the US federal government an awful lot lately. This is rather disturbing, and appears to be specific to recent times and specific to the United States.
This article is a good overview of how this disconnect has to come to pass:
Rest assured that as a French, I can confirm this is not specific at all to the US.
The US military budget is around 11x that of France.
And the GDP of the US about 6x that of France, so on that scale the amounts are roughly equivalent.