Douglas Adams writes:
For example, if you think Trump is a racist, you were probably offended that he referred to Judge Curiel as “Mexican.” But if you do not think Trump is racist, you might notice that Americans with Italian heritage refer to themselves as Italian. And Americans with Irish backgrounds often call themselves Irish. Even Americans with Mexican heritage call themselves Mexicans. It’s just a shorthand way of talking.