The resignation letters — or the statements confirming someone’s been fired, depending on which side you believe — are all starting to sound the same.

The latest is from former Navy Secretary Richard Spencer, who riled Donald Trump by trying to follow military procedure in potentially ejecting Chief Petty Officer Eddie Gallagher from the Navy SEALs. Gallagher was acquitted of murder and war crimes charges in July over the captive death of a teenage Isis fighter. At his military trial, he had been accused of stabbing the teenager several times while other SEALs were providing aid; the jury, while finding him not guilty of murder or attempted murder but guilty of posing inappropriately for photos with the captive’s corpse, ordered that he should be demoted a rank. Additionally, the Navy was to convene a review of status, as is standard after any conviction.

But Trump had other ideas. As commander-in-chief, he restored Gallagher's rank and called on Defense Secretary Mark Esper to give Spencer his marching orders.

The fired Navy secretary was as cutting as a military man could be. "Unfortunately, it has become apparent that in this respect, I no longer share the same understanding with the commander-in-chief who appointed me," Spencer wrote. "In regards to the key principle of good order and discipline, I cannot in good conscience obey an order that I believe violates the sacred oath I took in the presence of my family, my flag and my faith to support and defend the Constitution of the United States."

This echoes the words of a number of other military men who have walked away from — or been pushed out of — the Trump administration. Former defense secretary James Mattis said he was resigning as the president has "the right to have a secretary whose views are better aligned with yours”. Former John Bolton merely stated in his two-line letter that he "hereby resigns, effective immediately”, but appeared on television to suggest that his views and Trump’s on how a military should be run were fatally incompatible.

This is not a new occurrence, in other words, but the timing of the latest staff shuffle is instructive.

Defense attorney gives statement during navy Seal Edward Gallagher's murder trial

Trump needs to keep the type of raucous patriots who would support Gallagher onside. They are a large part of his core base. Failing to back a Navy SEAL could play badly, and he doesn’t want to take that risk when going into an election.

Spencer reportedly tried to propose a private deal with the White House: that one way of sorting out the Gallagher problem was to restore his rank and allow him to retire as a SEAL. At another time, we might speculate that Donald Trump would love nothing more than a one-on-one meeting with the Navy Secretary to seal an agreement, one he could bring up later as proof that he often meets behind closed doors to talk shop and solve problems with respected and respectable servicepeople. The suggestion that this request was refused and then used against Spencer speaks a lot about the president’s latest domestic strategies.

Of course, Trump’s main concern right now is impeachment. And with impeachment, if not removal, now a virtual certainty — possibly even before Christmas — he needs voter attention to be focused elsewhere. Manufactured outrage over the treatment of a convicted Navy SEAL is the perfect example. It allows Trump to appear loyal to his base and means he can flex his muscles as the commander-in-chief. Protocol and institutional norms be damned, he can say, I’ll stand up for the guys who go to war for America.

Officers, including former secretary Spencer, had made clear that an intervention by the president before all precedent had been followed would undermine "good order and discipline" in the ranks and allow the military to become too politicized. You could argue that Spencer going in front of reporters on Friday when he was still on active duty counts as insubordination. But it’s clear he was trying to make sure protocol was followed. The bigger issue is that Trump does not care which institutions or rules he has to trample over to keep himself afloat with his supporters now.

Trump 2020 launch: Fascist Proud Boys, baby blimps and Uncle Sam Show all 30 1 /30 Trump 2020 launch: Fascist Proud Boys, baby blimps and Uncle Sam Trump 2020 launch: Fascist Proud Boys, baby blimps and Uncle Sam Members of the Proud Boys, a fascist group, jeer at anti-Trump protesters outside of the president's 2020 campaign launch in Orlando, Florida Getty Trump 2020 launch: Fascist Proud Boys, baby blimps and Uncle Sam A supporter dressed as Uncle Sam poses at Uncle Sam Reuters Trump 2020 launch: Fascist Proud Boys, baby blimps and Uncle Sam A baby blimp rears its head amidst a group of anti-Trump protesters outside the president't campaign launch in Orlando, Florida Getty Trump 2020 launch: Fascist Proud Boys, baby blimps and Uncle Sam President Trump addresses supporters at the launch event of his 2020 election campaign in Orlando, Florida Reuters Trump 2020 launch: Fascist Proud Boys, baby blimps and Uncle Sam Proud Boys have adopted Fred Perry polo shirts as their uniform and many members have the name of the group tattooed on their arms Getty Trump 2020 launch: Fascist Proud Boys, baby blimps and Uncle Sam A line of police officers separate opposing groups of protesters outside the launch of President Trump's 2020 campaign launch Getty Trump 2020 launch: Fascist Proud Boys, baby blimps and Uncle Sam A protester hits a Trump punching bag during a protest outside Trump's 2020 campaign launch in Orlando, Florida Getty Trump 2020 launch: Fascist Proud Boys, baby blimps and Uncle Sam Twin Trump supporters pose for a photo at the president's 2020 campaign launch in Orlando, Florida Reuters Trump 2020 launch: Fascist Proud Boys, baby blimps and Uncle Sam A protester dressed as a caricature of Donald Trump stands outside the president's 2020 campaign launch in Orlando, Florida AP Trump 2020 launch: Fascist Proud Boys, baby blimps and Uncle Sam A Trump supporter faces off against a protester outside the president's campaign launch in Orlando, Florida AFP/Getty Trump 2020 launch: Fascist Proud Boys, baby blimps and Uncle Sam A Proud Boy shouts across the police line at anti-Trump protesters outside the president's campaign launch in Orlando, Florida Getty Trump 2020 launch: Fascist Proud Boys, baby blimps and Uncle Sam A Trump supporter poses for a photo at the president's 2020 campaign launch in Orlando, Florida Reuters Trump 2020 launch: Fascist Proud Boys, baby blimps and Uncle Sam A Proud Boy jeers at anti-Trump protesters who are separated from the president's supporters by a police line outside the president's campaign launch in Orlando, Florida Getty Trump 2020 launch: Fascist Proud Boys, baby blimps and Uncle Sam A man dressed as Uncle Sam poses at President Trump's 2020 campaign launch in Orlando, Florida Reuters Trump 2020 launch: Fascist Proud Boys, baby blimps and Uncle Sam An anti-Trump protester faces off against a supporter outside the president's campaign launch in Orlando, Florida AFP/Getty Trump 2020 launch: Fascist Proud Boys, baby blimps and Uncle Sam Members of the Proud Boys, a fascist group, jeer at anti-Trump protesters outside of the president's 2020 campaign launch Getty Trump 2020 launch: Fascist Proud Boys, baby blimps and Uncle Sam A child holds a 2020 US "dollar bill" that features Donald Trump's face at the president's 2020 campaign launch EPA Trump 2020 launch: Fascist Proud Boys, baby blimps and Uncle Sam Anti-Trump protesters rally outside the president's 2020 campaign launch in Orlando, Florida Getty Trump 2020 launch: Fascist Proud Boys, baby blimps and Uncle Sam Anti-Trump protesters rally outside the president's 2020 campaign launch in Orlando, Florida Getty Trump 2020 launch: Fascist Proud Boys, baby blimps and Uncle Sam Numerous baby Trump balloons are raised in protests outside of the president's 2020 campaign launch in Orlando, Florida Getty Trump 2020 launch: Fascist Proud Boys, baby blimps and Uncle Sam A supporter wears a T-shirt depicting Trump as a hero at the president's 2020 campaign launch in Orlando, Florida Reuters Trump 2020 launch: Fascist Proud Boys, baby blimps and Uncle Sam President Trump addresses supporters at the launch event of his 2020 election campaign in the Amway Centre in Orlando, Florida AFP/Getty Trump 2020 launch: Fascist Proud Boys, baby blimps and Uncle Sam An anti-Trump protester calls for the president to be impeached outside the launch event for his 2020 campaign launch in Orlando, Florida Getty Trump 2020 launch: Fascist Proud Boys, baby blimps and Uncle Sam Supporters of Donald Trump face off against protesters outside of the president's 2020 campaign launch in Orlando, Florida AP Trump 2020 launch: Fascist Proud Boys, baby blimps and Uncle Sam A baby blimp rises behind a group of anti-Trump protesters outside the president's campaign launch in Orlando, Florida AP Trump 2020 launch: Fascist Proud Boys, baby blimps and Uncle Sam A supporter dressed as Uncle Sam poses at President Trump's 2020 campaign launch in Orlando, Florida AP Trump 2020 launch: Fascist Proud Boys, baby blimps and Uncle Sam A member of the Proud Boys, a fascist group, holds a sign up outside of the president's 2020 campaign launch in Orlando, Florida AFP/Getty Trump 2020 launch: Fascist Proud Boys, baby blimps and Uncle Sam A supporter bears a Trump flag at the president's 2020 campaign launch in Orlando, Florida Reuters Trump 2020 launch: Fascist Proud Boys, baby blimps and Uncle Sam Protesters hold baby Trump balloons in the rally outside of the president's 2020 campaign launch in Orlando, Florida Getty Trump 2020 launch: Fascist Proud Boys, baby blimps and Uncle Sam An anti-Trump protester holds a sign accusing the president of being a traitor Getty