No, that's not why they are like minded. What you are referring to are people with similar taste but they may have (or not have) similar minds. Different animals, both.
Thats your experience.
A and B have similar interest and are like minded
C and D have different interests and work with opposite minds
Which pair has more probability of similar tastes