Don't take it personally. Whatever this relative said was about them, not you.
My BIL has always been hostile, rude and disrespectful. I used to take it, thinking there was something wrong with me perhaps...low self esteem. Now I realise it was never about me. He's missed having a friendship with me and the children and damaged his relationship with DH. His loss.