It's not just solar panels, it's a roof replacement and solar panels. In high COL areas, the roof alone would likely cost you $10k+ these days.

10k for a SFH roof seems extraordinarily cheap to me for any COL area. I would expect around 50k-60k for a 1000 sq ft roof (not US).