Freedom of speech has nothing to do with getting fired for being an ass. The First Amendment protects you from having the government silence you - it says nothing about your boss...
She’s welcome to sue them for wrongful termination.