To limit the probability of rain, or melting snow or ice, entering the cavities between wythes of masonry.
This is to limit the probability of the deterioration of elements in or below the parapet, which could lead to compromised structural integrity, which could lead to structural collapse, which could lead to harm to persons.