It's not hard to imagine that in MU Gul'dan reached Throne of the Elements and received a blessing from the elements, later killed his old clan and finally joined the Shadowmoon Clan, where he was taken as a student of Ner'zhul. In case of AU Gul'dan, he received a blessing from some demon that somehow happened to appear in Throne of the Elements.