U.S. National Security Adviser Mike Waltz said that he built the message chain and that White House technical experts were trying to figure out how Mr. Goldberg's contact “may have been sucked in.”