 After heavy battles, primary group cohesion is a real thing, and it exists in the American Revolution as well. Men are fighting for their comrades and for their buddies. And if your friends have died, if your friends have been wounded and are no longer with you, that's demoralizing, and men will leave.