A Pentagon official said the United States would continue to take military action to prevent further attacks.