Because they can carry solar panels?

Roofs have to handle several tons of wind pressure, snow, people walking on them and so on. They can handle solar panels no problem - which is why it's such a good idea to put solar panels on them.