Dogs sometimes eat poop out of boredom, for attention, to avoid punishment, or due to health issues.
However, stool eating, also known as coprophagy, is actually quite normal behavior for a puppy.
She does this both to keep the "den" clean and to protect the puppies from predators that might be drawn by the scent.