Phelan’s departure marks a significant leadership change amid ongoing naval operations in the Iran war.