The better question might be — why in the world would anyone baptize a child without the parents’ consent?
If the baby was in danger of dying and you wanted to save the soul.