White or gray poop means that digestion is not happening properly (maldigestion). The liver produces bile, a green-pigmented material that turns poop brown. If the liver is not producing bile, or the gallbladder is not piping it into the intestines to mix with food, then the result is white or gray poop.