The people pushing this round of protectionism have substantial overlap withe the people pushibg an explicitly race-based view of citizenship; they are not orthogonal concerns.
Protectionism is the excuse. Just like many excuses have been used in the past - "national security" to justify internment of people of Japanese origins, "states' rights" to justify slavery, "forced busing" to justify segregation, among many others.
Now it's "DEI" to justify racism against African Americans, and "H-1B" to justify racism against Indians.
Before that, many existing EU members did their best to limit immigration from the newly accepted members from the former Eastern Bloc as long as they could. And immigration from those countries was a major contributor to sentiments that led to Brexit.
Ukrainian refugees were initially welcomed, because Europeans sympathized with the reason they fled their country. But that sentiment didn't last everywhere.
In am in Eastern Europe, so I would not bat an eye if Germans were coming in, but if people from my country go to Germany, they have a problem with that. No racism, my specific region was part of the Austrian-Hungarian empire for a while.
Probably. I bet they also would be fine with immigrants from Japan. So what? You can look at Germany (or Japan) and you can look at Syria and draw conclusions that have nothing to do with how much sunscreen people in each country need to buy.