Because that’s how these bigoted minds work. They apply prejudice to everything, not just immigrants. One rapist is Mexican, therefore (be afraid!) you’re in danger from Mexicans. One mall stabber is Muslim, therefore (be afraid!) you are in danger from Muslims. Bill Clinton had sex with an intern, therefore (be outraged!) Clintons have no morals.
Blindly accepting prejudice is much easier than actually judging individuals on their own actions, so hate-mongers have a much simpler message to deliver than someone who uses logic to defend their position. And a simpleton’s vote counts exactly as much as one based on issues – and they’re cheaper to buy in bulk.