During the many centuries that magic, here on this planet, was presumed to have worked, there were at least as many theories as to how magic worked as there were cultures and religions.
I don't go out anywhere. I don't go to nightclubs, so meeting somebody in the nightclub is out of question.
Cosmologists have attempted to account for the day-to-day laws you find in textbooks in terms of fundamental 'superlaws,' but the superlaws themselves must still be accepted as brute facts. So maybe the ultimate laws of nature will always be off-limits to science.