When in conflict with someone try and avoid perceiving what’s wrong with their behaviour, rather try to see the pain which may be causing it.
Unsociable behaviour is just a shell; usually there is something deeper hiding beneath it. Perhaps a bad childhood, a traumatic relationship, maybe it is even karmic residue.
Typically we tend to talk to the other persons reaction instead of what is the deeper cause, which is where we should seek answers if we wish to seek affinity. Whether or not you find out the answers is not the point. Putting in the effort and care is.