A tax credit does mean that other taxpayers somewhere are paying for it, though
If the tax credit results in an increase of solar panel installations it’s still a net gain for society, even just financially.
That's an unreasonable assumption IMO. Solar is not food, homeowners can choose to skip it.