The United States has turned away two vessels that were trying to pass the Strait of Hormuz, according to tracking data.