Homeland Security Secretary Alejandro Mayorkas was grilled by lawmakers in a hearing on the border crisis.