Gassy poop can happen when your digestive system is backed up from constipation or you have diarrhea caused by food intolerance or infection. It can also simply occur when you eat certain foods.
Concurrent bloating and diarrhea are common gastrointestinal (GI) symptoms that can disrupt your life. If your symptoms only last a few days, they may be simply caused by a food disagreeing with you ...
The worst foods to eat with diarrhea are dairy products, sugar alcohols, and acidic, fried, or spicy foods. The worst beverages to drink when you have diarrhea are alcohol, coffee, and energy drinks.