Bloating when consuming gluten is a common occurrence. In some this is due to true sensitivity or allergy, but in many others it is an induced issue related to changes in the environment of the gut and the modern hybridisation of many grain varieties.
Chronic stress, poor sleep, excess caffeine, bacterial imbalances, frequent travel & hormonal changes all compromise our ability to break down glutenous grains. If we combine this with grains engineered to be more hardy, we enhance the discomforting situation.
So what's the answer? Firstly, consider the issues you are facing - are you okay with some grain products like sourdough or fresh pasta but not others? If there isn't an obvious trigger it's more likely your gut needs a bit of an overhaul generally.
Try grains that are naturally lower in gluten like rye, einkorn & spelt. If you tolerate these well then it's just the engineering that's getting in your way.
Whisk together water & maple syrup. Add spelt, rye, oats, cacao, yeast & salt to the bowl. Stir with a wooden spoon until no visible streaks remain.
Cover the bowl & let it sit for 12-15 hours at room temperature. It will at least double in size.
Lightly oil and line a bread pan. Scrape the dough into the pan & press it down evenly (use wet hands). Cover again & let rest for 1-2 hours at room temperature.
Heat the oven to 200°C (400°F). Once hot place the bread on a middle rack & bake for 40-45 minutes. It will sound hollow when tapped.
Let it cool in the pan for 20-30 minutes before letting it go totally cold on a wire rack. It will keep well for a week at room temperature.
Or slice & freeze for up to 3 months.