The first "black people"(whatever that means) that came to the Americas were european. According to some scholars there were a large population of so-called blacks living in europe back in the day (before 16th century). Moreover whites call themselves "caucasian", meaning from the Caucasus mountains. We all know the caucasus moutains is located in "Asia", which means white people migrated from asia(east) to europe(west) and are not native from europe.
But these DNA tests work off markers not historical migratory patterns. I can see a marker that Black people have in Europe, look for the closest adjacent marker in Africa and then return your result back as African. They do that when it comes to what I think R1b1a which is prevalent in East Africa. If you have it, they say you have European ancestry because claiming R1b1a as African means the Ancient Egyptians were Black.
I would actually say European is political and White is tied to race. Why? Europe is political because it is not even separate from Asian, they drew an artificial line in the sand and said “this is Europe”. You can only see Europe’s borders on a political map and not a regional.European is more tied to nationality, White is mostly tied to ethnicity.