The reality does not match the rhetoric.
I can fire you for protected speech! The government largely can’t.
Plus, in this case, misconduct:
“state officials falsely claimed her private post caused significant operational disruption and generated hundreds of public complaints; discovery in the case revealed those claims to be fabricated”