The Republicans looked at the border provisions and decided that although there were some good elements, the overall effect of the bill would be to make legal what President Biden and Secretary Mayorkis are already doing illegally.
To get an idea of why the Republicans balked at the recent bill, here's a comparison of the recent proposal with the bill the Republicans passed in the House of Representatives last May (HR 2) but which the Democrats refused to take up in the Senate: