Thousands of migrants have crossed the Rio Grande from Mexico into the United States in recent days, lining the river and the city while overwhelming shelters.