Yellowing of feces can be caused by an infection known as Giardiasis, which derives its name from Giardia, a microscopic parasitic organism. If Giardia infects the intestines it can cause severe yellow diarrhea. This is a dangerous communicable infection and must be reported.