>Some of this is very self-serving for the median commuter as well. Someone struggling with a stroller or luggage is likely blocking some portion of the way for people getting in and out of the Subway,
From an evolutionary game theory perspective, all seemingly selfless coordination acts are really self interest with extra steps. Prairie dogs have a vocabulary of about 10 words for the approximately 10 types of predators they might want to warn each other about. Why would a male prairie dog participate in a system which perpetuates the life of competing males? Because all participant prairie dogs benefit from not getting eaten, and the marginal benefit to the individual is higher than the marginal cost.
Of course, prairie dogs don't sit around working out payoff matrices and finding the Nash Equilibrium. The behaviour is hard coded without an understanding of why. Warning their fellow dogs just "feels like the right thing to do". so they do it.