The problem with hydrocarbons (apart from all the climate/war stuff) is that no use of hydrocarbons comes close to the efficiency of an electric powertrain - your typical ICE car turns around 66% of the energy in the fuel into waste heat for example, and the most efficient possible uses with either super-exotic million-dollar engines or giant turbines are in the 50~60% ballpark. An EV powertrain can turn well over 90% of the electricity that goes into the charge plug into power at the wheels. And if you're getting your hydrocarbons from e-fuels, those are fuels that are highly energy-inefficient to make. I saw a study that came out around the pandemic estimating that replacing all fossil fuels with e-fuels around that time would require world electricity generation to be tripled to quadroupled.
But there are some relatively niche roles where the energy density is critical such as in aircraft where this could make sense. The high combustion temperatures of fossil fuels are also needed for some industrial processes. The sheer inefficiency of the whole supply chain from renewable power to kinetic energy at the wheels/prop makes it useless as a mainstream transportation solution though.