In this world the pantheon of Gods draw power and identity from the mortals who worship them. The more people who believe in and pray to a certain god, the more power that being has funneled their way.
At the most fundamental level this Divine Energy is completely separate from Torc Energy. Divine energy is derived from the culmination of psychic energy gathered by Deities at the point of worship and by the collecting of souls of the dead. Much like the time my parent’s bathroom was flooded by a leaky pipe one drop at a time so do the Gods collect energy from the mortals of Teros.
While this system affords the Gods great power it also robs them of a degree of agency. The psychic energy that fuels them also shapes their identity. A god who started as a being representing love and harmony may find themselves turning wrathful and cold as their follower’s beliefs of their nature influence their characteristics. In some extreme cases the belief in a nonexistent deity can lead to the creation of a God. Traditionally most Gods were once mortal and the worship they received elevated them to a position of Godhood.
Gods may remain powerful even after the worship of them dries up. To stick to the same analogy that bathroom certainly stayed wet until Jeff made me clean it all up with towels and a shop vac.
If you want to go deeper into this theory check out this site.