Yes. There is a multitude of bacteria that reside on our feet and feed off our sweat. During periods of prolonged lack of ventilation, the bacteria consume the sweat and create an acid that creates a foul odor.