Arguably it helps so the air can go through the top holes in the keyboard better, you probably want openings on top and bottom for that.
But I still think this effect is negligible compared to the fan. I don’t think you would notice a temperature difference if you rotated your laptop 90 degrees with the keyboard vertical.