What does it mean when your stomach hurts and your poop is green? The causes of diarrhea and green poop vary, but often the reasons are dehydration, a viral stomach flu or infection, as a result of eating something with harmful parasites or bacteria, or even nerves. ...