Trump is Commander-in-Chief, not SecDef.
They say Mattis is secretary of defense ... and Trump is “President”.