Trump entered his second term with a cloak of invincibility that has been tested in elections in Brazil, Israel and now at home.