The two countries have clashed over alleged persecution of white South Africans and Israel's war on Gaza.