1 Eating Green Foods. The first and most obvious reason for a stool to be green is from eating green foods. Green, leafy vegetables contain chlorophyll, which could be coloring the stool green. Green food coloring is also a common reason for stools to be green.  Eating Purple Foods.