This is called the "Southern Strategy". The policy of the Republican party to get votes in southern districts by appealing to racism. They've been at it for quite a while.
I wish they'd come up with a new strategy. Like maybe, "Fix the economy."
Doc