No matter the cause, dogs eating poop can be distressing to their owners.
Of course we want the behavior to stop.
Some people believe that you can feed dogs pineapple so they stop eating their poop.
The idea is that the pineapple will alter the poop to be unappetizing to the dog.