Trump's order will "lead to mental health crises or worse for tens of thousands of Americans", one official said.