As is the answer to anything dnd... Magic!

Good point tho. However I imagine since
some sages claimed that they were once descended from humans
that they all have the fun parts needed for such acts, they just dont use them when they want to procreate.