Everyone has not a luxury to have a biological child. But today the advancement of science, you can have one via surrogacy. The gestational surrogacy allows you to have your own genetic child without having to carry it. But If the intended mother has a low ovarian reserve or diminished ovarian reserve than she will o longer be able to have her child as a biological one. The scenario you have mentioned is different and depends on the situation. But to me, the right of the parents who raised the child has more right over who gave birth.