Besides the personal camaraderie between Trump and Musk, Trump's frequent calls for higher tariffs for Chinese imports (including Chinese-made EVs) should directly help Tesla sell more cars in the U.S ...
Shutting down the US fossil fuel industry would endanger the economy, undermine security and, actually, increase the level of greenhouse gases in the environment.