Oil prices retreated Tuesday as traders weighed Middle East escalation risks.