Exactly. It’s a collective action problem — every car dropping off a kid incrementally endangers the kids walking to school, so if there is no enforcement whatsoever, we’d end up with everybody driving, and a situation worse than in US schools (because Swiss schools were largely not constructed with drop off zones in mind, and retrofitting them would be difficult with our land use patterns).
In my experience the kids form a peloton walking to school but there are adults walking with the youngest such groups. E.g. this website (never been to this town, just seems representative).