Eating high-fiber foods like beans and cabbage can make your farts smell bad. Food intolerances, such as lactose intolerance, can cause smelly farts. Constipation can lead to farts that smell bad.