It's rude to make fun of someone's accent.
Joe meets a new classmate from a different country who speaks with an accent Joe is unfamiliar with.
Joe wants to react to the classmate's accent.
Joe says that his classmate's accent is interesting and commends them for learning more than one language.
Joe mimics the classmate's accent and makes jokes about how they speak.
Joe's classmate feels included by Joe even though they speak a little differently.
The classmate feels that they are being made to look foolish for how they speak.