To limit the probability of discontinuity between the waterproofing materials in the roof and the materials installed in the walls to protect against air leakage, which could lead to air leakage, which could lead to negative effects on the air quality of indoor spaces.
This is to limit the probability of harm to persons.