Renewables are cheaper than coal. And the replacement wasn’t limited to gas and coal. There are articles which explained that there wasn’t a massive increase in e.g. coal usage.
The CNN article article also briefly puts a high figure for coal on energy, which could lead to confusion.