Iran's Islamic Revolutionary Guard Corps vessels "harassed" a U.S. warship near the Strait of Hormuz, a U.S. defense official said.