Bush may have put the money into a war to protect the US, but Obama squandered more on magical bail-outs that no one wanted, needed, or did anything for the average citizen. Obama has been in office for next to no time and he's tripled the debt -- how the hell do we expect to do anything when he is spending money we don't have? Enough said, get your facts straight and don't blame our first mentally challenged president.
The best way to restore funding for NASA is to stop spending all of this money that they don't have on crap we don't want or need. Best way to start would be a freeze on unneeded pet projects and cut everything else by 10% this year with increased cuts the following years -- unbiased, impartial, every department in a bloated government is affected. Balance the freaking budget, cut the taxes (better yet, change to a flat tax and dismantle most of the IRS), give the President line-item veto power so unnecessary riders can be killed, and you'll have the funds needed.
Stepping down from my soapbox now.