To limit the probability of inadequate fastening of roof framing members to the wall framing, which could lead to an inability to resist expected wind uplift loads, which could lead to the separation of roof framing from the wall framing.
Where assemblies are required to provide fire resistance, this is to limit the probability of compromised fire resistance of the assembly, which could lead to harm to persons.