Momentum, installed base, established interests, changing uses.
Foolishly reductionistic model: at the instant that solar becomes defacto cheaper, if everyone immediately changed, you'd need at least [total world power consumption / solar panel production rate] years to change over.
2022 world electricity consumption was about 25000 TWH. That envelope-backs to about 2800 GW if the sun is always directly overhead everywhere and there are no transmission losses.
In 2022, we installed about 228GW of solar panels. Assuming constant production (HAH!) that says it should take more than a decade to replace the existing demand. Which will of course stand still for us.
Apply whatever multiplication factors you like about what percentage of the year a given real solar cell will generate power; about how quickly folks are convinced to change; about the construction of projects which were planned before this price threshold was passed; about the impact of using grid power to do transportation work which was previously done by pumping dead dinosaurs...
The confounding factors abound. But that's an ignorant sideline answer to why. :)