Well, at least from historical point of view and regarding infantry, deeper formation allowed you to concentrate more strength in one place. The visual effect was that the side, which deployed deeper (to a reasonable extend of course) could simply push back their enemies, disrupt their formation in the process and force them to retreat.