Trump has built his political career in part by doing something unusual for U.S. presidents: Attacking other presidents.