The marginal generator is likely so expensive because solar was used to replace cost effective nuclear and coal plants.
https://en.wikipedia.org/wiki/Levelized_cost_of_electricity#...
https://en.wikipedia.org/wiki/Levelized_cost_of_electricity#...