I imagine an unhoused teenager might be just a little bit more tired than most.
Big red flag anytime someone says they don’t like someone’s “attitude”. He didn’t feel she gave him enough respect, so he abused his authority to humiliate and punish her. He should be permanently removed from the bench.