“If God did not make Mary pregnant, then who did?”
Not who. What. The Holy Spirit. It was a miracle. She remained a virgin even though she were pregnant. There was no sex.
Who said anything about sex?