The average persons foot muscles are really deprived of exercise because of unatural cushioning in modern shoes and your feet are bundled up and not able to properly spread out.
If you’re wearing shoes for working out at least try to get flat ones if you don’t have the option to go barefoot. I personally use Birkenstocks for more stationary lifts (Bonus: Some of the Birkenstocks are free of synthetic materials on the parts that touch your skin)
Most commercial gyms are fine with you being in your socks though.