USA currently borrows that much per MONTH (mostly from China).
Vietnam was a bargain basement deal compared to current wars.
Also remember that in our "modern" wars, far fewer soliders die, instead they get lifelong permanent disabilities requiring super-dooper expensive care, and since they are teenagers or in their twenties, we have to fund their care for 50+ years instead of just paying for a funeral.
See that nonexistent budget slide that happened when the war started? Oh, excuse me, what we actually saw was almost $5 Billion in additional spending.
In fact, the NASA budget was not cut. It is increasing over the next few years. The initiative discussed will mean reformulating (again) the manned spaceflight program (which is a good idea).
It would probably not be a good thing to "give NASA a massive budget". It would prove politically unsustainable, and then it would be cut back down. The resulting turmoil is not usually worth it.
But when you are gushing $4+ billion a month, everything else has to be cut.
What they are giving NASA over the next five years, will be spent in just April+May in Afghanistan and Iraq.