As others have pointed out in the thread, those who slurp up the surplus value of the labor of these undocumented workers would hate to lose this leverage of "Oh you want the same rights American workers get? Don't want me making a phone call to my buddy over at the police department!"
The purpose of a system is what it does.