How do people sleep with socks on?

I recently learned that a friend of mine likes to sleep with their socks on when they go to bed, and I have never heard of anyone doing this before. Does anyone else do this? I only wear a pair of shorts when I go to sleep. Wearing anything like socks or a shirt just feels…. weird(?) and I can’t fall asleep. Is this a common thing that most people do?