I think the key element is 'shared hardship'. Personally, I didn't see combat, but military life in general sucks; doing a lot of stupid stuff at the whim of others. I think you see this in other areas of life as well, sports teams, project teams meeting tight deadlines, etc...