It might not be gluten (protein) that is affecting you, but the fructans (carbohydrates) that are found in wheat, rye, and barely which are high in FODMAPs.
Look into low-FODMAP diets if you haven't already.
Thanks, my wife and I did one and it helped but it’s really hard to find the root cause because I also wasn’t eating bread at the time. I also get it from beer but not liquor, which makes me consider its gluten. Great point though, I’ll keep it in mind
Look into low-FODMAP diets if you haven't already.