Its literally called the magic lasso, divine power is magical power, and they are vulnerable to certain light not any light. I dont think its the fact that it glowed was what hurt them... And I suppose if you want to differentiate the two, Sauron's powers can very easily be said to be (un)holy since he is essentially a fallen angel, and Melkor is basically Satan