Dark green poop in a 4-month-old baby can be caused by a number of things, including a diet high in iron, a reaction to certain foods, or an infection. If the dark green poop persists, it is important to speak to a doctor to rule out any underlying medical conditions.