I don’t even know how much of this is coming from the hatred inside Trump’s heart. Maybe he’s personally just indifferent to racism.
The one thing I’m pretty sure of is that Trump’s entire sense of self-worth centers around how much adoration he gets from OTHER people, and the one group that has stood by him through thick and thin is the far-right racists. As long as that continues he’s going to be loathe to do anything to alienate them, even if it doesn’t make for political strategy in the long term.