Because renewables and storage have only been produced at the scale and price required to achieve this for the last 5 years. [1]
The following article "Solar electricity every hour of every day is here and it changes everything"[2] is an interesting demonstration of how solar + batteries is pushing other generation sources to the periphery in most of the world.
Edit: Here is some more data for Brazil and the UK showing a large increase in solar over the last 5 years [3][4]
1. https://ember-energy.org/latest-insights/solar-power-continu...
2. https://ember-energy.org/latest-insights/solar-electricity-e...
3. https://ember-energy.org/latest-insights/wind-and-solar-gene...
4.https://ember-energy.org/latest-insights/a-record-year-for-b...