Israel’s main allies are USA and India. Oops!
For the USA the Israeli occupation of Palestine WAS a very important service to its global dominance. (no more US dominance, no use for Israel.)
‘Israel’ is the most important proxy army the USA have in the Middle East.
Such a vital ally is not going to be attacked for a few sins like apartheid, random killing or ethnic cleansing, practices the USA knows all about.
And has vast experience with.
South Africa has taken a hardline stance against Israel and staunchly supports the Palestinians. In 2019 it downgraded its embassy in Tel Aviv and pulled out its ambassador.
Those who assume the USA acts on the basis of values are immensely wrong.
It acts on yes or no service to its global domination.
If the the answer is yes, the USA will support you.
Apartheid regimes, murderous regimes, random imprisonment regimes, bulldozering regimes, they can count on the US of America.