Dumbest school rule ever

So I just got 2 days lunch detention for wearing PJ’s to school and I’m pissed because I legitly saw 3 kids yesterday wearing PJ’s and slippers and they didn’t get in trouble

My school sucks because I also have gotten in trouble for wearing AirPods (I was sitting in a corner alone at lunch like I do everyday because I have 0 friends)