After the attack killed dozens of sailors, Iran’s foreign minister accused the United States of committing an “atrocity at sea.”