Tijuana residents have criticised Central American migrants for rushing to the northern border, with US authorities responding by shutting the country's busiest border.