The undigested fat can cause yellow and greasy appearance of stools.” Problems with your pancreas can also cause a yellow stool that’s foul in odor and has a frothy or floaty appearance.