Why do insurers care about roof condition?

Roof age and materials affect risk of leaks wind damage and hail damage.