Did I cross a line ?

Hello community ! Spoke to a US colleague yesterday who is joining my wider team. I asked if his name was Sri Lankan and he aggressively responded that it he was from East India. I tried to give some context to my heritage and how my mum was from North India and create a rapport to get to know him.

Did I cross a line by asking him about his name and where it originated from? Is that a no no in todays world? I am genuinely asking to educate myself, as I thought I was, okishhhh on the political correctness radar.

Munish @Munish