The classy thing to do would have been to thank MAJ Haley for his service.
With that said, Haley was wrong to bring up President Trump and combat. At the vert least, serving tells us something about a person.
That said, President Trump has a history of inappropriate comments regarding military personnel. His feud with McCain eventually led to him saying about McCain “He’s not a war hero, he’s a war hero because he was captured. I like people who weren’t captured, okay? I hate to tell you.”
You don’t need to think someone is a war here to honor their service.
Guarantee President Trump would have never said that if VADM Stockdale or Jerimiah Denton were alive.