How the hell does the government get away with banning the Confederate flag?
The Confederate flag is not "banned." You have a First Amendment right to display it on your own property. The federal government, in its capacity as a landowner, has decided not to display it on its property, but that is not a "ban."