“Woman” is not a biological sex, it simply isn’t. You are ignoring that trans men (legally and socially not women), along with some intersex people (neither biologically male or female, by definition, and legal gender varies), and cisgender girls of a sufficient age can all get pregnant. Not to mention some non-binary people. So there are plenty of people other than women that can get pregnant.