US president promotes 'possibility of working for a ceasefire in Lebanon' but says ending Gaza war is more difficult.