Only persons have rights. new born humans are not yet persons. Why? Because they do not have enough brain tissue and neural interconnects to be persons. Fortunately, nature has contrived to make the brain the fastest developing organ in a new born human. Within a month or two our newborn will have the equipment to become a person, so legally we should give it time to happen, which it will in virtually all normal newborn humans.
Here is the thing. The vaginal opening in the human female pelvis is too small to permit the ejection (birth) of the newborn if it had a 2.5 lb brain (minimum for being human). So a newborn has a brain that weighs slightly over one pound. In a word, human come half baked from the oven. Fortunately the dough rises within a month or two. But human infants -at birth- are not yet persons. They are biological entities who most likely will become persons if their growth is not interfered with.