Magic is a deceptively complex topic. I see there being three types of "magic." (I wrote a blog post on this a while back that you can look at here
if you like, but I'll try to sum it up.)
The first type is miracles, or light magic. This isn't really magic, it's something like when God parted the Red Sea, or turned Moses' staff into a serpent. God chose to work through a human, but He was still in control. But this would have looked like a form of magic to the Egyptians.
As Christians, we don't generally get confused about this one.
The second type is dark magic. This is true magic. Like the first type, it's supernatural power, but it comes from demons or spirits. This is, I believe, what the Bible says is wrong and evil.
The third type would be neutral magic, or unexplained science. This is something that can be explained naturally, but is currently beyond our understanding.
The issue is that in fiction, people rarely differentiate between the latter two, and often get them mixed up. They can tend to look very similar at times, and often somebody in fiction will use both. For example, BBC's Merlin. His ability to move objects with his mind is something that he was born with, so I classify that as neutral magic. But the spells that he recites are things that anyone can learn, so I classify that as true magic.