The Avengers is supposed to be a team that works together for the good of the world and the people in it. Even though this team has an extraordinary task, they are still people and still a team, meaning they can have the same drawbacks. People naturally are going to be different and aren’t always going to get along, and the film understood that this can also apply to a group of super heroes. The scene where everyone finds out S.H.I.E.L.D’s plan of making super weapons, a huge argument breaks out. it starts off first with the avengers VS nick fury, but it quickly spreads amongst themselves. this whole scene keeps everyone in character with bits of humor thrown in if you listen closely enough to the dialog, keeping in tune with the rest of the movie. before this specific conflict, there were obvious issues between the members of the avengers that they would try to look past and downplay as real issues, with all of them coming out in one big conflict, much like how many teams of people in real life do. i think in an older movie, every hero would work together well form the beginning just because they are advertised as a team. it wouldn’t matter how their personalities would conflict with each other, they would just ignore that and everything would be great. in modern day movies, writers and directors have realized that it can be a lot more interesting and engaging when things aren’t always so perfect and work without problems, and this is one good example of that.