Foods that tend to make you sweat more, such as hot peppers or other spicy foods, might also contribute to body odor. And the aroma of foods such as onions or garlic can be carried in the sweat, making you smell bad. Drinks with caffeine or alcohol may also cause you to sweat more.