Protesters chant as Trump visits Dayton, El Paso

President Donald Trump and first lady Melania Trump speak to first responders as they visit the El Paso Regional Communications Center after meeting with people affected by the El Paso mass shooting, Wednesday, Aug. 7, 2019, in El Paso, Texas. (AP Photo/Evan Vucci)

Demonstrators chant as they protest the arrival of President Donald Trump outside Miami Valley Hospital after a mass shooting that occurred in the Oregon District early Sunday morning, Wednesday, Aug. 7, 2019, in Dayton. (AP Photo/John Minchillo)

Fernie Bermudez holds a sign to protest the visit of President Donald Trump to the border city after Saturday’s mass shooting in El Paso, Texas, Wednesday, Aug. 7, 2019. Trump headed to El Paso, after visiting Dayton, Ohio on Wednesday to offer a message of healing and unity, but he was met by unusual hostility in both places by people who fault his own incendiary words as a contributing cause to the mass shootings. (AP Photo/Andres Leighton)

EL PASO, Texas — Aiming to play the traditional role of healer during national tragedy, President Donald Trump paid visits Wednesday to two cities reeling from mass shootings that left 31 dead and dozens more wounded. But his divisive words preceded him, large protests greeted him and biting political attacks soon followed.