Once you become aware of something, you gain the ability to change it. The observer effect in quantum mechanics shows how particles can be altered when they are observed.
That is exactly how magic works. Once something is observed, you can change it through the power of your mind.