Baylor College of Medicine's Dr. David Szafron explains that bloating, a feeling of trapped gas, can be triggered by food, medications, gut bacteria imbalances, and more. Common food triggers include lactose and fructose. Regular bloating may require a food diary to identify triggers, while severe symptoms like weight loss or vomiting warrant a doctor's visit.