Great point you raise. I had my son in soccer and he's now training 3 times a week in tennis. His hitting partner he has an amazing rapport with, better than anyone he did in his soccer team previous.
Team sports is hard especially when you have many in the team focusing on the individual. In individual sports, you ARE the individual
I think because of that reason that I have fonder memories of team sports. When you win, it can't really be because of one star player whereas in swimming the coaches have something to do with it, but ultimately it boils down to your own preparation and raw ability.
In team sports you have a lot more people to share your glory or your disappointment with.