Coal is made from plants that were once alive! Since coal comes from plants, and plants get their energy from the sun, the energy in coal also came from the sun
When you pull a rubber band there is elastic potential energy stored in the rubber band but once you let go of either side the EPE turns into Kinetic Energy.