To pop oversized CO2 bubbles that would create giant holes
Yeast produces carbon dioxide during fermentation. Without punching, you'd get a few enormous air pockets instead of the uniform small bubbles that make bread fluffy. It redistributes yeast for a second rise too.