I don’t think or either of the cases the first amendment “Freedom of Speech” has been broken, it may had been misunderstood, which is different.
For sample for all of us that work, or had work in the past, our place of employment sets policies and procedures, and an ethical work structure so that everyone can be equally respected while conducting their daily job routines. We all understand what can be say or not, or do or not; or even how to dress or not. They are not taken our “Freedom of Speech” away, we just learn when, where and how to express our selves.
Well, schools