Why do dogs eat their puppies?

I have had dogs my whole life with many being bred, and have never seen a dog eat her puppies.