The reason this works is something called the Meissner effect and magnetic flux pinning. The Meissner effect dictates that a superconductor in a magnetic field will always expel the magnetic field inside of it, and thus bend the magnetic field around it. The problem is a matter of equilibrium. If you just placed a superconductor on top of a magnet, then the superconductor would just float off the magnet, sort of like trying to balance two south magnetic poles of bar magnets against each other.