Coal is as dirty a fuel resource as it gets. Oil is better in a number of ways but that's not saying much; it still pollutes. Hydraulic fracking is useful for getting to unconventional oil deposits but it still creates significant pollution. Of course, civilization still relies heavily on these resources but a transition to alternative types that are less harmful to the environment is a necessary step for humanity - whether we want to do that or not.
Planning for the future by way of advancing technology to be better for the world around us shouldn't be taken as some slight directed at the aforementioned industries. Progress is inevitable and the way in which we continue to advance as a civilization isn't an exception to that, regardless of who wins or loses in the end. If Trump and his supporters want to twist facts, create falsehoods, and spread lies to fit their archaic narrative, that's on them. But it doesn't make Biden or other proponents of transitioning to renewable clean energy the "socialist/communist/liberal anti-Murica" villains they're being made out to be. That's simply a viewpoint created from a perspective of ignorance and outright fear-mongering (the latter of which is comical because MAGAts consistently accuse their opponents of fear-mongering on things like racial inequality, police brutality, systemic injustice, and other important social issues).
Coal, oil, and shale oil are a finite resource; they will eventually run out on this planet. It seems only reasonable to prepare for that future.