Mining (copper, silica, lithium, sodium, iron, rare earth minerals) requirements for solar, wind, etc
It's nearly a one time cost, with good recycling.
Fossil fuels require increasingly damaging invasions of the environment over & over because it's burned.
It's a comparison between a consumable energy source and nonconsumable energy sources.