Corbelling effect.
If you imagine pulling a lintel out of a wall, e.g. from over a door, the wall doesn't collapse vertically above all the way to the top of the building. It's just a triangle of bricks over the door which fall out. The rest are supported by transfering their weight to the wall either side of the door.