Who said it was? You can go to any ____legal____ port of entry of the United States and apply for asylum. There is 2.3% chance for a Mexican to get it granted (based on 2015 data). The problem is when people try to cross the border illegally (which is a crime) dragging their children along. Not too surprisingly this is what the US CBP people want to stop.