Medically reviewed by Kumkum Sarkar Patel, MD Gut bacteria produce sulfur compounds that cause stinky farts when breaking down carbohydrates.Food intolerances can cause undigested sugars to produce ...