The tone shift came as the president faced new crises imperiling his campaign—including his COVID-19 diagnosis.