The primary reason for the stinky smell is due to the sweat and bacteria buildup inside the shoes. The warm and moist environment inside the shoes creates the perfect breeding ground for bacteria, which causes an unpleasant odor.