There’s a significant problem with illegal immigration: It’s actually pretty hard to legally immigrate, if this infographic is still up to date.
Now, barring that part, The process of dealing with illegal immigration should not be built on separating children from families, and even deportation might be a little strong when it comes to what these families are trying to escape from. Likely, illegal immigrants should be given due process for y’know, being able to legally become American citizens.
Indeed, this all comes down to how we want to handle the problem (or “challenge” if that helps). The trouble is devising a system that works and is fair and stable.
Due process is a reason we detain people so long. The reasons we ultimately deport are another (and crucial) matter.