Three things to note: (1) These are percentages, not total goods. The domestic economy is much larger than the military sector. (2) Just look at how recently the military increase really started to spike upwards. (3) The figure in the bottom table are half due to Bush, half to Obama.
As I looked at that graph, and those figures, I began to think, "What if that were spending on green technology instead? After all, global warming is probably the biggest long-term threat there is to our national security. What if we were spending all that money on that in the midst of this economic crisis?"