I'm looking for a word that describes when someone shows a lack of understanding or empathy to someone due to a prejudice.

For example, if a man and a woman are having a conversation and the man makes a comment alluding to some sexist stereotype, the woman would suddenly feel disconnected from him because he is demonstrating that he isn't able to extend his empathy to women in the same way he does to other men. If someone has a prejudice, they see everyone from a certain group as being different from them and thus in some ways unrelatable.

I had always thought the word for this was "animosity", probably because it's often used in these contexts and it sounds like "anonymous" so it gave me the impression of not seeing someone for who they are. I've only recently discovered that it describes hostility, more than the passive disconnect I'm trying to describe. The word I'm looking for also has a connotation of patronising someone due to prejudiced views.

It also isn't necessarily about seeing someone as inferior to you, just treating someone as different and unrelatable. For example, if a woman said to a male friend that she thought all men were inherently sexist, the same word would be used to describe the feeling of disconnect from her not being able to see him in the same way she sees other women.

An example sentence would be:

> 
> When my white neighbour told me that he thought black people were naturally more aggressive, I felt a sense of (not quite animosity) that forever stunted our friendship.
> 
> 
>