That’s a series where people learn how to use magic, not a thing about “how it works”. The series is very careful to never explain anything about the mechanics of magic, other than “incantations are a thing unless they aren’t, willpower maybe matters, and quality of the magic wand is relevant except when it isn’t”.
Harry potter, they all go to wizarding school (not that HP should be used as a reference for world building…).
That’s a series where people learn how to use magic, not a thing about “how it works”. The series is very careful to never explain anything about the mechanics of magic, other than “incantations are a thing unless they aren’t, willpower maybe matters, and quality of the magic wand is relevant except when it isn’t”.