It's better to avoid fiber-rich foods when you are bloated because the consumption of dietary fibers, especially soluble fibers, can aggravate your bloating.