More than 4,000 migrants, including children and families, are being housed at a US facility on the Mexican border.