Human beings associate magic with things they do not understand. It is for a category of things that are not so spectacular so as to be associated with God.
We logically conclude as above based on very limited understanding and with techniques that have not matured enough yet to give us a complete picture.
But, one by one, we understand things that are magical. Hence, the category of magic is for me, a vision of the things we need to understand and the things we need to create.