According to the law, the Federal government is supposed to act against unfair foreign competition and restrict immigration. In fact, of course, it does nothing because of its own political interests in satisfying the donor class and the Dem party (which has merged significantly over the past 10 years with big business).
So the proximate problem is the lawlessness of the Federal government.
OK, but what's unfair?
There are lots and lots of countries that have lower standards of living than the US and can produce goods more cheaply. Is that unfair?
Can we only trade with wealthier countries, and would that be good for the US?