Some foods with high-fiber content, like broccoli, Brussels sports, beans, or cabbage, may contribute to gas accumulation in the stomach. Fizzy or carbonated drinks such as beer, soda, or sparkling water could also increase trapped gas in the stomach.