Vomiting up fecal contents is known as feculent vomiting. It is can occur when the bowel is obstructed and as the intestines try to contract, it pushes the feces back up the esophageal tract.