Discover why your poop turns green, including dietary triggers, medications, and medical conditions like diarrhea or gut disorders. Learn when green stool is harmless and when to consult a doctor.