You can look at coal, oil, gas as form of compressed solar energy, because all of them have biological source, stored millions of year ago. It's just burning coal, oil, gas has nasty side effects.
"
Volcanic coal-burning in Siberia led to climate change 252 million years ago.
By that logic, all of the Earth and the moon were once parts of stars, so tidal and geothermal are also solar.
When people say "solar energy", they are usually referring to first order solar energy, directly from photons, not second or third order solar energy after it has been trapped into other sources of potential energy.
" Volcanic coal-burning in Siberia led to climate change 252 million years ago.
Extensive burning in Siberia was a cause of the Permo-Triassic extinction " https://www.nsf.gov/news/volcanic-coal-burning-siberia-led-c...