In my opinion, magic is about getting the simulation to do something for you. We aren't living in a true reality and that means things can change which seem permanent. Such as the laws of gravity. The observer effect is part of Quantum mechanics, which is where people try to understand odd functioning in the simulation. The simulation is actually run by AIs, who communicate with each other and share information. When you look at something, the AI in your brain IE "Your Mind" does too. That AI can change things which should not be possible.