The system randomizes players, I don't know the specifics.
The fact that you get placed on these teams is random as well, so must be your luck either sucks or you're just counting the times where your teams loses.
All I can say is deal with it. We've all been in this position, it's not like the teams are purposely picked.