Hey are you from China?
No.
Are you Korean?
Um no, sorry.
*a group nearby*:
THEY’RE AMERICANS!!!
And there’s definitely nothing wrong with (politely) asking someone who they are, or where they’re from.
People’s views are shaped by their experiences, but they are also shaped by the books/magazines they read, and the movies/shows they watch.