This isn't about freedom of speech. There are a lot of things you can legally say or do that won't get you in trouble with the law but will in fact get you fired if you make your company look bad. It's irrelevant if he made those comments in uniform or not.