Public Money, Public Code
There are a lot of good reasons to do this, even if it's just better interop between different branches of the government, all cool.However, you then realize that the military is funded by public money. I'd wager you don't want fighter jet or missile guidance software to be open source.The idea is way too simplistic and lacks nuance.