Domestic dogs, which can also be avid eaters of poop, have been found to turn to poop eating due to nutritional deficiencies in their diets caused by starvation or disease, prior research has suggested.
However, that doesn't explain why otherwise healthy dogs would develop a taste for waste.