I used to have this problem for a long time, sounds like the same thing. Moisture. Important to wear clean socks and change them often, a few times a day. Keep feet clean and dry, but moisturized. Dry in the sense, dry socks, dry shoes, no excessive sweat. Moisturized in the sense of a topical ointment along with home remedies to get feet back to normal, then a moisturizer as a regular routine. And continuing the clean dry socks thing.
Good luck, and sorry to hear you have this problem, mine really hurt when I had it. Hope it gets better soon.