“White” has a very flexible definition depending on the racism du jour. In the US, plenty of Europeans, like Irish, Spanish, and Italian people weren’t considered “white” for a long time.
But now we’ve got plenty of brown and black people to be even more racist against, so they get to be “white” these days.