US president’s frustration with continued Israeli attacks on Lebanon and Iran erupts as he pushes to end the war