WASHINGTON — It is the most solemn of rituals for American presidents: comforting the soldiers wounded under his command or the families of those who have died. For generations, presidents have typically discussed those encounters in the most delicate of tones.

“The hardest thing I have to do, by far, much harder than the witch hunt, is signing letters to parents of soldiers that have been killed,” President Trump said at the White House this month.

But in arguing that there must be an end to “endless wars” in Afghanistan and more recently in Syria, Mr. Trump has given graphic accounts of distraught widows and disfigured soldiers in terms rarely, if ever, heard from a president before. In one recent instance, he said he had seen grieving family members “make sounds, scream and cry like you’ve never seen before.”

Mr. Trump has particularly focused on describing the ceremony of transferring the flag-draped coffins of American soldiers killed overseas from the military cargo planes that have brought their remains home to Dover Air Force Base in Delaware.