Oil rose to a fresh four-month high after United States President Donald Trump threatened another attack on Iran, urging Tehran to negotiate a nuclear deal.