You're conflating the 1st Amendment with free speech. The former is rooted in the latter. Free speech is a natural right, applicable to all situations. This is a free speech issue.
This is the argument used by people who think you should be able to say anything on Facebook, Twitter etc. And the response is always the same - you have the right to say what you want, but there are consequences. In this case, firing.
You made the same mistake as the higher comment. Yes, this is how it works legally in the US. But the concept of free speech is not tied to US law. It is a free speech issue and it’s perfectly conceivable that a countries laws would reflect these rights for social media protections.
You’re agreeing with the op. You do have free speech on social media. You also have consequences. Same as on the street, work, school, playground, grocery store, car dealership…
Employers should not and can not apply consequences for any reason they like. You could say “you are free to wear any color shirt you like, but if you pick the wrong one, you could be fired”.
That may be true in America but it isn’t in other countries. Arguably some speech on social media should be protected and not a reason for employment termination.