Coffee can flare up IBS because of its high caffeine content. Studies have shown that caffeine increases gastric motility (how fast waste moves through your digestive tract). Caffeine can also cause abdominal pain. If you have IBS, your digestive system is extra-sensitive to these changes, so caffeine can worsen your symptoms.