When the white Europeans invaded Africa the native population did not have the skills or technology to repel them. Many Africans were enslaved, sent thousands of miles away from their homes and suffered confiscation of their lands and assets. Their women and children were abused.
Today many Africans (and others) want to live in the places presently occupied by white Europeans (with a very few black Europeans). The Africans do not want (as far as I can tell) to enslave the while Europeans, steal their land and assets or abuse the women and children. They simply want a better economic future.
Much of Europe, for whom the principle of free movement around Europe is sacrosanct, do not want to have many black Africans living among them and so they prohibit behaviour which they once undertook so ruthlessly and they have the technology to enforce their rules which prevent Africans emigrating to Europe.
The strong shape events, while justice weeps.