Pres. Trump and his three predecessors have had to respond to mass shootings, often addressing the nation's concerns while encouraging unity and healing.