Much of this is due to the fracking tech revolution of the early 2000s, which dropped the price of energy from natural gas below coal in the US.
Shale gas has been replacing coal: https://images.app.goo.gl/zb2bBfkBuAvWePVU6
Shale gas has been replacing coal: https://images.app.goo.gl/zb2bBfkBuAvWePVU6