Many people who are in favour of surrogacy think about the parents who end up with a child. They do not think about or have much less thought about the surrogate and the child. This used to be the approach with adoption, the main purpose was to provide a child for a childless couple.
Obviously, research has now shown that the most important person in adoption process is the child being adopted. This is also recognised with egg and sperm donors, so can no longer be anonymous
But surrogacy still seems to be all about producing a child for someone else, and very little consideration for the child.
I assume the Catholic Church has learnt their lesson from the Magdalene Laundries