Please recall that Christianity is the only worldview that ever denied, undermined, and outlawed magic.
Wasn’t there a story not so long ago about how Saudi Arabia offered classes in Defense Against The Dark Arts? And I am pretty sure that whole “don’t suffer a witch to live” is from the OT. You know, the Jewish part of your holy book?
"Aaron cast down his rod before Pharaoh, and before his servants, and it became a serpent" (Exod. 7.10)
I guess we can chalk this one up to “Early Installment Weirdness”. The authors hadn’t worked out the magic system they wanted to use yet. Later they settled for “any magic the supposedly good guys use is called miracles and therefore not magic”.