Gen. Tim Haugh had served as director of the National Security Agency and headed U.S. Cyber Command since 2023.