One of the officials, who was speaking on condition of anonymity, said it was carried out by a US military submarine.