The issue is nothing whatsoever to do with ‘whipping up hatred’ as you put it, but in the case of the Home Secretary, trying against all the odds to secure our borders and to break the criminal people smuggling gangs.
She's not trying very hard, is she? There are several things she could get on with doing to prevent the smuggling gangs, but she prefers to demonise, in Parliament, all asylum seekers, rather than do anything useful.
And, amazing though it may seem to those who approve of this, there are many people who thoroughly disapprove of her inhumane, even law breaking, treatment of them.