Fossil fuels are subsidized which makes it cheaper at the beginning. However, renewables get cheaper to maintain over the years hence making it cheaper than fossil fuels.