Is it though? For developing countries, having a large supply of fossil fuels has always been a huge accelerator for industrialization and overall economic growth even if that fuel has to be imported. There really is no substitute, especially when you consider that it's not used only for transportation and power generation but also for manufacturing as an industrial heat source and chemical feed stock.
Solar energy is cheaper than oil right now. On average. Too bad it's highly variable but if you can cope with extreme variability you can get extremely cheap energy.
Pretty tough to cope with variability if you want to build a modern industrial economy. I mean even with cheap labor it kind of kills your cost structure when capital intensive facilities have to shut down due to electricity shortage. Plus there are plenty of industrial processes that require fossil fuels as inputs separate from just electricity.
fossil fuels were a proxy for energy. China continues to show the world that energy independence can come via electricity that you generate within your borders, and that it can be cheaper than importing foreign oil.
Trump is implementing multi decade right wing fantasies in many fronts. The idea that we can't achieve anything is limiting yourself when you're in a political arena. To win, like Trump, when you get power you have to attack on many fronts, cultural, capital, legal, and approach it as a zero sum scorched earth war where norms are another obstacle in your way.