The thing is, the top picture doesn't have to be that way. There's 36 cars in the queue and about 31 parking spots empty in full view. So anyone who isn't an absolute dumb stupid bastard of a man can drive around these dummies, park, and leave before anyone else (or alternately sit inside and eat).
But also, top picture is in some sprawling hellscape of suburbia while bottom pic presumably has nice views to look at.
It also could be that they are drive-through only. I live in a small town in the midwestern U.S. and a lot of fast-food places around here closed their lobbies during the pandemic and just never reopened them after, usually citing worker shortages.