Well I guess governments like the US do use racism to convince their supporter base that what Israel is doing is good, essentially by equating a whole nation with potential for terrorism. and this fits the narrative in many people's head when the said nation is mostly middle eastern, has brown skin and speaks arabic.
But this is just one such tool. There is religion, nationalism, fear mongering etc etc The real reason is as always, insanities revolving around wanting more and more and more power.