I have found that removing HFCS from my diet (basically, fizzy pop) and eating probiotic yogurt seems to mostly cure my mild IBS. I still get IBS due to stress, but don't seem to get it during non-stressful daily life any more. Of course, it still could be the placebo effect...it's hard to know for sure. It never affected my sleep though. The only time I would get anxiety would be due to an imminent bowel movement.
My reading indicates this is inflammation.
If the bacteria have nothing to eat, they eat you.
Inflammation is not always localized. It can move. And there's lot of indications that many neural problems (Alzheimer's, Parkinson's, etc) are inflammation-related.
https://en.wikipedia.org/wiki/Glutamine
> On the level of tissue, glutamine plays a role in maintaining the normal integrity of the intestinal mucosa.,[12] but randomised trials provide no evidence of any benefit of nutritional supplementation.[12]
It's cheap to buy and try if it changes anything for you.
But the ones people miss a lot: yogurt (to empower good bacteria cultures), and cannabis (yes, marijuana).
I have always had sleep issues and over a long period of time and experimenting, found that I could calm the bacteria by giving them the right amount of fiber and simple proteins to work on, while avoiding sugar. If I deprive them of nutrients, they release something into my blood that increases anxiety. I have yet to figure out what this chemical is.
I used to think it was a blood sugar problem, but after a lot of testing, determined my blood sugar was fine. It turns out that 700 trillion life forms in the gut can wreak havoc if they are not taken care of.
And to think ... I said I don't want any pets. Turns out, I have 700 trillion of them.