Solar energy is direct energy source (From the sun).
Geothermal is energy NOT from the sun but from heat inside the earth.
wind power is solar energy, the winds are from differences in air pressure from the uneven heating over the Earth's topology by the Sun. It is indirect but considered a prime motivator for our devices.
Wind power is direct energy if the turbine is powered by wind alone, but can be indirect if connceted to a solar power unit or a generator.
All of these causes wind, tides (in addition to tide caused by the sun and moon), and precipitation which leads makes water available at higher elevations.