The root cause for the illegal immigration is the U.S. government refusal to combat the invasion occurring at the border. If it had done so in the beginning, there never would have been a need to construct any walls.
You can’t have open borders and a welfare state willing to support them.