BRICS nations have been in disagreement over how strongly to denounce Israel's bombing of Iran and its war on Gaza.