What cause electromagnet cause motion?