Iran has said a return by the US to a policy of pressure and threats risked derailing diplomatic efforts to end the war.