The official identified the two vessels as Alvand, a frigate, and Kharq, a supply ship, and said they were en route to Syria.