WASHINGTON — The widow of one of four soldiers killed in Niger went on television on Monday to criticize President Trump for how he spoke to her during a condolence call last week, drawing a swift denial from Mr. Trump, who breathed new life into a bitter controversy that has transformed a tragedy into a political feud.

Myeshia Johnson, whose husband, Sgt. La David T. Johnson, was killed early this month in an attack that is under investigation by the United States military, said the president had blundered through the condolence call he made to her last week, only deepening her grief because he did not seem to know her husband’s name.

“The president said, ‘He knew what he signed up for, but it hurts anyway,’” Ms. Johnson said during an interview with ABC News’s George Stephanopoulos. “It made me cry because I was very angry at the tone in his voice and how he said it.”

She said Mr. Trump’s memory seemed to falter during their exchange.

“He couldn’t remember my husband’s name,” Ms. Johnson said. “The only way he remembered my husband’s name is because he told me he had my husband’s report in front of him and that’s when he actually said ‘La David.’ I heard him stumbling on trying to remember my husband’s name. And that’s what hurt me the most because if my husband is out here fighting for our country, and he risked his life for our country, why can’t you remember his name?”