That's because drug use, vaping and sex either take place in bathrooms where school staff can't see it, or off school grounds where school staff can't do anything about it even if they could see it. Dress code violations are something school staff can clearly see and do something about.