Oil rose Wednesday after U.S. President Donald Trump denied offering sanctions relief to Iran.