The truth is that there are quite a few Republican senators who are entirely in favor of open borders, largely because they depend on funding from industries (e.g. - agriculture, food service, and hospitality) that depend on a supply of cheap labor.
It is a short-sighted and destructive policy, but no one in Washington ever looks beyond the next election.