The controversy comes at a time when immigration remains a deeply polarising issue in US politics.