School officials have a responsibility to keep the kids under their care safe.
This really is not a difficult concept. The students wearing the flag intended to provoke Mexican students. School officials acted to prevent this, before it got out of hand. End of story. Put the outrage away.