 Part of it was wanting to be seen to defend Israel, but also he wanted to be seen to be a government in waiting. And all British prime ministers know that whatever your foreign policy is, it is ultimately subordinate to what the United States does. There was no point in Keir Starmer improvising a position if the West at large and the US in particular wasn't ready to go there yet.