A magnet and a magnetic field are two different things. A wire can have a magnetic field while current is traveling through it without being a magnet.
I'm no expert on magnetism or gravity, but I do believe that all forms of energy and matter originate from the same source. Everything in existence is nothing more than manifestations of the primal force.
May the force be with you.