It’s most likely to have something to do you the current semi-digested food in your gut feeds yeast. When you pass that on going to the toilet, the medium that c.albicans/other fungi you are having problems with is no longer there. This means the yeast has not as much to feed on just after you’ve been to the toilet. But then the new food arrives, and the same thing will take place.
I had this a lot back in the days.
I’m currently chelating mercury, and not on a strict diet, feeling pretty good most of the time. The forums strict diet made me very sick, mostly with adrenal fatigue and less beneficial gut flora.