Your baby may have an allergy or intolerance to the milk proteins in their formula, for example, or to the dairy you're consuming if you're breastfeeding. Not enough full-fat breast milk when nursing. In this case, the poop may be bright green and frothy or foamy, similar to algae. ...