It's my understanding that .gov and .mil were brought over from when those were independent networks, pre-internet.
> The domain was originally administered by the United States Department of Defense, but is today operated by Verisign, and remains under ultimate jurisdiction of U.S. law.
.edu holds US-centric requirements today. Not sure about .org, .net, etc.