What is 'good order and discipline' and why does it matter for the military?

In a letter to President Trump, Richard Spencer, the Navy secretary who was fired Sunday, said he no longer shared the “same understanding” of “good order and discipline” with the commander in chief. The term has come up repeatedly in myriad recent scandals for the Navy SEALs.