Coal is undeniably dirty to mine, process, and burn. It will be the first to go and rightly so. Rare earth batteries aren’t much better. If EV people only knew the environmental catastrophe they’re contributing to. A corolla is better for the environment than a Prius.
Coal will phase out first followed by other petros as the next technology matures. These things happen over time.
As for aircraft , the reason for the discussion, I don’t think hydrogen will ever be stored dense enough to be viable. These storage devices will be large. Aircraft will be among the last to ween off petroleum. As for the political pressure, I’ll believe it when the activists quit flying around wagging fingers. That girl did float around in a port-a-john though. I was impressed.