Our vet told us that dogs eat poop (sometimes) when they aren't fully digesting their food, and can still smell food in the poop. That happens because the type of food isn't being totally absorbed by the dog, and so we should try a new one. Switching foods, for us, totally worked. We bought a higher quality, vitamin rich food that totally stopped the other end munching It might be something you want to ry