Actually the father hamster doesn't, but the mother hamster will. The father gets away from the mother as much as possible because she will kill the father to protect the young.
Also, there are generally 2 cases where the mother hamster will eat the young - inexperience as a mother and 2) they die and to protect the surviving young from predators that smell the dead baby.
I know that wasn't your point, but can't help adding in when hamsters or Queen is mentioned lol.