Mexico is the pass through entity for the Hondurans, Guatemalans, etc. It isn't just Mexicans, it isn't even just Central Americans, or even South Americans seeking to blend in and cross. Mexico could stop these caravans and turn them around at their border.
As for the uncontrolled areas of our border, this is like having a house without walls, not like leaving the door open.