Could green poop be caused by an allergy to breast milk? Green poop is caused by prevalence of foremilk as opposed to hindmilk in the baby's diet. This might happen if baby changes breasts often or the mother is pumping the milk. Try keeping the baby on one breast longer and pump longer if this is the case.