Gut bacteria produce sulfur compounds that cause stinky farts when breaking down carbohydrates. Food intolerances can cause undigested sugars to produce excess gas in the large intestine. High-fiber ...