School dress codes man

There was another teacher scolding a girl about her skirt being too short which I didn't think it was. I think she's just tall. This teacher said "Boys can't handle that much skin." As she's scolding this girl I'm scolding some 8th grade boys. Not because they couldn't "handle her skin" because they put their friend in the trashcan. I think these boys are a little preoccupied to care about her knees and if they really can't control themselves they belong in therapy. Not shaming girls. Also the reason these boys put their friends in a trashcan? He asked them to. Why did he ask them to? "idk. Just felt like something I needed to do." I don't get teenagers.