The job changed and needs a different skill set. Trump rotates people based on the skill set needed at the time. That leadership style is one of his hallmarks.
The job changed? How could the job of the Secretary of the Navy possibly change in 15 months? The job is to plan for and execute wars. What was it in January 2025? Organizing dinner parties?