The Iranian naval vessels backed off after the Navy dispatched a guided-missile destroyer to the scene.