What's up with younger generations*not* dressing appropriately for the gym?

I honestly don't care what you wear at the gym it's your life but it seems there's a popular trend of kids wearing flannel pajama pants and they're almost trying to wear the most inappropriate (unsafe) shoes to the gym. Literally wearing slides while squatting. Feel like you're asking for a toe injury.

Not bashing, most of the younger people at my gym are nice and respectful I'm just wondering how this all started and why?