[Question] Whose life matters more—a baby’s or an adult’s?

I recently came across a question asking that in a hypothetical scenario where a doctor has to decide either to save a woman giving birth or the baby birthed. In most of the comments to the question, most people said they would save the woman instead of the baby. Shouldn’t saving the baby be morally right as it will live longer than the woman? Furthermore, some utilitarian ethicists believe that it is not that bad to kill babies because they aren’t fully conscious like adults and so they aren’t “persons”. However, the problem with this logic is that these babies will eventually become “persons”. If you think about it, saving the baby leads to greater total lifespan and higher average lifespan. So why do most people—even utilitarian philosophers- believe the adult’s life matters more than the baby’s?