How are these waves generated? We don’t know. If you take a piece of paper and sprinkle iron filings on it while holding it over a magnet, you will see a ripple pattern. Where does magnetic energy come from? We don’t know. If you pass a wire through a magnetic field, a voltage is created that can be seen on a voltmeter.
Ed