Of course, I have to admit that my friends are actually fairly alike: almost all are EECS with some other engineers thrown in. But this does not reflect most of the groups I knew in the dorms. (Also, ignoring the EECS/engineering bent, my best friends are also a fairly diverse group.)
But I get it. For almost all of our evolutionary past, we were in tribes where everyone looked like us. While we're more open to diversity, it takes a certain type of person to want to go outside the comfort zone.
In the past, this would mean getting eaten by an animal or getting killed by a rival tribe. If you looked different, believed in different things, etc. you are dead.
So being with like-minded people, even if you're liberal or whatever is the remnants of human evolution that we haven't fully gotten over yet.
Besides, it's safer. Easier to relate to people who look like you and think like you.
This parallels closely my experiences at a certain UC in the bay area.
It was ironic because for a school that preaches diversity, for a student body that is self-proclaimed ultra liberal and progressive, it was socially very conservative. The better off white kids hang out pretty much with only other better off white kids in their frats..the asians have their own frats..so do the blacks and hispanics. What's more, there is not too much interaction between these groups to the point where you can really feel uncomfortable if you find yourself in a group where you don't belong.
I don't really know where I was going with this, other than people definitely tend to form cluster of like-minded people.