More than tens of thousands of dollars, military aircraft are incredibly expensive to operate and maintain. Beyond the obvious fuel costs, every hour of flight time is followed up by N hours of service.
If I remember correctly, the F-22 Raptor is the champ in terms of highest ratio of service required per hour of flight (40:1).
The F-35 clocks in at 4-8 hours of service per hour flown (6:1).
One example from the article linked below:
USMIL budgeted $39m dollars for the blue angels to fly 69 days in one year. It's up to 11 F/A-18 Hornets at once, but in my experience they only fly for a couple of minutes for a show.
Plus, who knows what kind of math games the military plays in terms of budget reporting. Operating commercial aircraft is already
very expensive, and military craft are an order of magnitude moreso.
The planes are beautiful, though <3, and remain operationally effective.
https://www.inverse.com/article/33711-military-flyover-costs...
Edit: Good points @elif and sandworm101, thank you!