Organisms can feed on a variety of things which means that more than likely something you are consuming is allowing the pathogens to grow. You will have to experiment with the diet, as I do not believe there is a one size fits all approach.
Undigested food is a sign of immune activation (inflammation).