But the punishment is on child.
No, it's not. And if it were, then the punishment is being inflicted on the child by a careless parent.
When a crime is committed, something of value or endearment must be taken away from you as punishment.
If you kill someone, then your freedom and/or your life.
If you steal, your freedom.
If you commit financial crimes, your money.
And unfortunately, in this case, when you smuggle a live human child across the border of our country for the sole purpose of coming here illegally, your child. The child has done nothing wrong. The parent on the other hand has, in my mind,done something patently unforgivable.