In a way, the first meeting is related to what brings us together. Common interests are often cited as a way to make friends, and that may be partially true, but think about what gives you those interests in the first place. For example, not everyone joins track for the same reason. Some join to improve their fitness while others join for the love of running. Such a venue usually leads to people with similar mindsets, but that is not necessary. What I think brings people together are their personalities. Some personalities just meld well in a way that can be hard to explain. They don't necessarily have to be similar either. Here is where the saying "opposites attract" comes into play. You look for someone help balance you out at times and would probably not like looking at your reflection in the mirror. We like diversity in terms of opinions and personalities because otherwise, the world wouldn't be nearly as interesting.
So next time, take a step back and think about exactly why you get along with your friends. You'll probably find that you don't talk about the same things with all of them, but each of them emphasizes a part of you that you'd like to express more. It really is a beautiful circle of friendship that makes us who we are.