For years, President Donald Trump has offered crass and insensitive comments about people who died – especially his foes.