Referred to as coprophagia, eating feces occurs because dogs can smell food through the feces — in this case, cat food. Cat food is generally higher in protein than dog food, hence the appeal.