US and Iranian officials agree that the ship was struck by an explosion of unknown origin.