Heinlein would tell you that asking for rational reasons for government policies is often mistaken.
Obviously in some cases they needed to keep out hostile forces. Or maybe they need to keep their subjected peoples in - like a Communist country.
But I wonder if they really had a fortified...