Any sufficiently advanced science is indistinguishable from magic.
What is meant by ' magic ' ? The fooling of the senses? The supernatural? The violation of physics as we know it?
The behaviors of UAP with presumed advanced science appear to be the latter. These include very high accelerations, sustained operation and levitation, high speed right-angle turns and high speeds, (indifference to inertia and/or gravity), no observable (conventional) propulsion systems, no control surfaces, transiting from space to atmosphere and then into water (transmedium), cloaking, etc.
But the latter are not ascribed to magic... (except by some people...)