Reason leaky gut why many ppl feel better without gluten and dairy?

Hey guys gluten and dairy can cause anxiety for many people, do you think its because of leaky gut?