How is it fair that boys at my school are allowed to wear t-shirts with f*** you on them for dress down day but one of my friends got sent home for wearing leggings?

How is it fair that boys at my school are allowed to wear t-shirts with f*** you on them for dress down day but one of my friends got sent home for wearing leggings?