Geothermal energy.
Electromagnetic energy originates at the sun (think UV rays; they are part of the electromagnetic spectrum). Electrical energy technically can be anywhere, as long as there are positive and negative charges. Mechanical energy is like a generator or an engine; there is always something working to get things done/made.
I hope this answer and these explanations helped!