As soon as the US president declared an immediate ceasefire between Israel and Iran, the two countries undercut his latest boast about dictating the terms of a truce.