It's really not that complicated. Employees are allowed to have their political beliefs. Believe whatever you want to believe, while doing the job you are paid to do. Their employer can choose to fire them if they behave unprofessionally. That's what happened.