Answer:
Hi! This is because the students have the rights to freedom of speech/expression, as they don't "shed" their constiutional rights. This is the reason why the court (of appeals) ruled in favor for the students, not the school.
Step-by-step explanation:
This is the Tinker v. Des Moines court case from 1969 in which students have the rights to free speech in schools, as long as it doesn't involve violence, "abusing" the rights of speech, etc. Hope this helps!