Why do american ppl care so much about accent?

Why do they feel the need to say: oh you have accent, where are you from?

Like who cares? Why is that even relevant? Why do ppl in the US think is ok and normal to ask strangers about that?