It's not like Harry doesn't know that some wizards can get pregnant and have children. He learned that earlier this year after Madam Pomfret dragged all the muggle-raised fifth year students and proceeded to give them what Hermione called The Talk, Magical Edition. How it all works out still escapes him, but all the boys had been tested for the trait and Harry was told that he isn't one.