Magic refers to phenomena in which the mind produces effects in the world without direct material causation.
Granted, hypnosis is not magic (not really). Hypnosis is simply a state of human consciousness involving focused attention and reduced peripheral awareness and an enhanced capacity to respond to suggestion. As you begin to imagine something different, it happens just like that because hypnosis profoundly alters the neural circuits involved in perception and decision making. The experience can be therapeutic, familiar, pleasurable & practical. It may feel like magic, but the effect... that is entirely real.
"He who looks outside dreams; he who looks within awakes." ~ Carl Jung