In order to prevent creating point loads on top of the garages, roofs span from one longitudinal wall to the next, evenly distributing loads into the exterior walls.
Image credit: Stephan Baumann, bild_raum