Your first paragraph is correct but the second doesn't necessarily follow as there's other disease inflammation that resembles gluten sensitivity like that caused by Giardia. See the discussion here on an instance of giardiasis: https://news.ycombinator.com/item?id=41855307
There's also things found alongside gluten like arabinoxylan which promotes the growth of certain bacteria like prevotella. At this I should mention that a possibly helpful daily breakfast to address digestion issues (with both prebiotics and probiotics) is greek yogurt + frozen blueberries + chopped walnuts. Source: https://www.northwell.edu/news/insights/are-blueberries-good... (see also doi:10.3390/nu10020244, doi:10.1016/j.jnutbio.2017.07.001, doi:10.1002/mnfr.202300096)
There's also things found alongside gluten like arabinoxylan which promotes the growth of certain bacteria like prevotella. At this I should mention that a possibly helpful daily breakfast to address digestion issues (with both prebiotics and probiotics) is greek yogurt + frozen blueberries + chopped walnuts. Source: https://www.northwell.edu/news/insights/are-blueberries-good... (see also doi:10.3390/nu10020244, doi:10.1016/j.jnutbio.2017.07.001, doi:10.1002/mnfr.202300096)