The visit came after the United Kingdom Maritime Trade Organization reported that an oil tanker had been hit by an unknown projectile in the Strait of Hormuz.