They require the passports so that they can track them, they cannot track those coming across the southern border.
But if they don't have a passport they can just walk across the border, so requiring a passport won't keep them out or insure they can be tracked.