Scientifically speaking, foot odor is termed as bromhidrosis which occurs due to bacteria found in warm, moist socks and feet. How they grow is simply by multiplying. Shoes are the perfect hide and grow place for them. Sweat formed in the feet is a combination of sodium chloride, acids, fats and water.