Privilege or right?

My sister and her ex are young, soon to be parents. The father is saying he will be involved and his family is very involved with the pregnancy but he also has sad horrible things about the pregnancy, child and my sister. He wants the baby to have his last name, is that a privilege or a right that the baby has his last name even if they are unwed.