I had heard it is some microbe lacking in the gut, at least when it was explained about baby horses eating older horses' poop. I have one geriatric mule who eats poop, too. I figured it was some sort of probiotic type thing. (?)
I find it worth mentioning that dogs eat cats' poop but cats...