Skin peels off all of the time as a normal bodily function, it is most likely fine.
It’s normal for that to happen. If you sweated or your feet got wet and you were some closed shoes like baskets or boots, then that’s simply the dead skin that in contact with water started peeling