If a person is here in the US illegally that in itself is a crime. If they commit a crime deportation is much kinder than other punishments. Why waste tax money incarcerating them instant deportation. Cheaper and better for the taxpayer.
I can see a student missing a deadline more worthy of consideration than a person who is already a criminal by coming across a border illegally.