I'm not sure it ever was that way, but it was perhaps less prevalent before the rise of social media, where it's now very easy to see one's views.

> If I’m engaged in a business transaction I don’t care about the personal views of the person I’m buying or selling from.

I mean that's perhaps the ideal in a civilized society, but that's not remotely the norm. I'm guessing you do it subconsciously even if you don't realize it. It's very natural for humans to "other" different humans and shun them. Even if it's not what we strive for.