Allberg isn’t entirely off.
Fasting does give the digestive system a break, and can fix some digestive problems IF a break is what was needed.
But if your food selection is the problem, then you’re just taking a break from the problem, then going right back to it. Kinda like breaking up with a girl because she sucks, feeling better, then taking her back all over again (who hasn’t done this tho?).
Some recommendations I have for this issue, food wise is so…
Get rid of all green veggies for a while
Get rid of low GI carbs that pack a lot of fiiber (oatmeal, sweet potatoes, etc)
Get rid of whole grains
Go to smaller portions of protein per meal. 3.5 to 4.0 ounces should help if you’ve been eating more than that.
Switch to fast digesting carbs like cream of rice, jasmine rice, and over to veggies like sweet peppers, carrots, and fruits like bananas and apples (the latter two may seem to contradict the above but most people can digest fruit very easily).
Start there and see if that helps.