Oil prices rose on Tuesday ahead of a deadline set by U.S. President Donald Trump for Iran to open the Strait of Hormuz or face attacks on power plants and other infrastructure.