It isn’t, but the whole night thing is a bit of a problem and storage isn’t there yet at grid scale, but it’s coming.
https://www.sierraclub.org/coal/coal-plant-map
https://www.carbonbrief.org/analysis-trump-has-overseen-more...
Coal competes with literally everything else, and it loses to every single one of them. It's a terrible, terrible fuel. Burn natgas instead and you're already magnitudes better off.
Coal only exists today in the US because our politics is broken beyond belief.