Hindsight is 20/20. Should she have complied in order to avoid the situation escalating as it did, probably, but given the history of previous encounters, it sounds like the principal has a stick up their ass and was looking for any excuse to punish her.