Well, I think as some have stated, most Black people are not in favor of being a mule and harming people for the white man's agenda in making America a White ethnostate.
There might be some sympathetic perspectives as to why a lot of Black people are not so invested in anti-immigrant rhetoric because we've had our own hardships in this country, so we're a little more empathetic. This doesn't mean that we necessarily are pro-immigrant or anti-immigrant, but rather we're just not going to insert ourselves into this problem.
Immigration is a White man's problem, with the White population declining and on the verge of becoming a minority not only worldwide but specifically in America within the next 50-60+ years, racially speaking, this country will look very different and that's immigration is a concerning issue for them more than anybody else as they already feel like they're losing the country due to the demographic/racial makeup of the country slowly but surely becoming more Black and Brown as time moves forward.
Secondly, there was a time in this country when Black people were going through the same or very similar issues that immigrants are going through now; hell, Black Americans weren't even considered US citizens until 1868 due to the ratification of the Fourteenth Amendment, that's nearly 100 years (92 to be exact) after America was founded.
White people tried to deport, or rather should I say “manipulate” Black Americans to leave America, although not in the same sense as in today's deportation methods, considering ICE wasn't a thing back then, hence the Go Back To Africa movements and the creation of Liberia...
Read this for more insight into what I'm alluding to...
en.wikipedia.org
The American Colonization Society was established in 1816 to address the prevailing view that free people of color could not integrate into U.S. society; their population had grown steadily following the American Revolutionary War, from 60,000 in 1790 to 300,000 by 1830.[3]: 26 Slave owners feared that these free Black people might help their slaves to escape or rebel. In addition, many White Americans believed that African Americans were inherently inferior and should be relocated.[4]
The African American community and the abolitionist movement overwhelmingly opposed the project. According to "the colored citizens of Syracuse", headed by Rev. Jermain Loguen,
We recognize in it ["the scheme of African Colonization"] the most intense hatred of the colored race, clad in the garb of pretended philanthropy; and we regard the revival of colonization societies...as...manifestations of a passion fit only for demons to indulge in.[5]
In most cases, African American families had lived in the United States for generations, and their prevailing sentiment was that they were no more African than white Americans were European. Contrary to claims that their emigration was voluntary, many African Americans, both free and enslaved, were pressured into emigrating.