A magical veil separates our realm from the demonic realm, designed to keep supernatural creatures out. A summoning spell bypasses this barrier by directly summoning a demon directly to our plane. These spells require human sacrifices equal to the level of demon being summoned, with the strongest requiring millions of sacrifices to cross over. All demons contain essence, the life energy of their souls. A demon can draw on their essence to perform powerful feats of arcane magic. When a demon is killed on the mortal plane, it doesn't die permanently, but is reborn in hell. The demonic Lords of hell are referred to as the greater evils, and are equivalent to gods. The number of sacrifices needed to allow their summoning would be astronomical, and therefore impractical.
https://diablo.fandom.com/wiki/Diablo, the greatest of demons, strikes a bargain with Adria, a witch from a coven of demon worshippers. The coven conducts a ritual that would allow him to be incarnated into this world, using Morgan as a vessel. By consummating their union through this ritual, Diablo would be born as a god on earth. He would embody the flesh of a human, but possess the soul of the demon. Things didn't go according to plan. The incarnation led to the birth of a girl, Leah. The ritual had the unintended affect of "purifying" the demon's soul, removing all traces of demonic essence. However, the child-god retained its arcane powers and its immortality.
Being born through a witch on this side of the veil apparently caused the demon's soul to be purified, but somehow didn't lose its powers or abilities connected to magic. How could this be the case?