Professionally installed solar panels rarely cause roof damage, but it is technically possible that improperly handled equipment can lead to unfortunate consequences.
In the rare event that a licensed solar company damages your roof, your contract may include craftsmanship guarantees for the protection of your home and investment, though.