So? I am not disturbed that we used 0.00001% (or whatever) of the military budget on a missile. I am disturbed that for a cost of that single missile we could replace the lead pipes in an elementary school or employ multiple teachers for a year.
I don't know why it surprises you that it costs a lot of money to research, develop, manufacture, store, distribute, and maintain low-volume cutting edge weapons technology using expensive all-American components and labor. The fact that a babysitter is paid less than the cost of a missile seems pretty unrelated. And if you think you can build a sidewinder for under $30k, please go right ahead, the country needs you.
If the missile wasn't fired, it would end up in a disposal yard. The US orders missiles and airplanes in large batches, then uses them or they become obsolete.
The cost of the missile was already baked in long before it was fired.