Because sometimes building these facilities is expensive and they usually have to be built in remote areas and burning fossil fuels has also been cheaper than using renewable energy in the past. Another issue is that the form of energy isn't available all the time.