This post builds on Can Anxiety Cause Digestive Problems?, so if you want the fuller picture first, start there.

Can anxiety cause bloating?
Yes — and it's not just in your head. When you're anxious, your body diverts energy away from digestion to deal with a threat that usually isn't even real. Digestion slows, gas builds up, and bloating follows.
What is the relationship between anxiety and digestion?
Can stress cause indigestion?
Does anxiety impact digestion long-term, or is it always temporary?
It depends on whether the anxiety is a passing moment or a pattern your body's learned to default to. A one-off worry usually settles once it passes. But if your nervous system has been on high alert for months or years, digestion can stay disrupted long after the trigger's gone, because the pattern needs addressing, not just the symptom.
How do I know if it's anxiety or a digestive condition?
Honestly? Sometimes you can't tell just from the symptoms; anxiety and digestive conditions can look remarkably alike. If things are new, severe, or ongoing, see your GP first to rule anything out. If it's all clear but symptoms still show up around stress, that's usually your answer.