Or possibly warping magic. Underdark shows a beholder half-illithid.

It describes way of producing them as "most often, through magical tampering with the reproductive processes of the base creature, rather than through direct mating"