Oil prices rose after President Donald Trump leveled a profanity-laden threat against Iran on Sunday.