In his decree, Khamenei urged Adm. Irani to improve the navy. No reason was given for the replacement.
Iran’s navy, under the army, is mainly in charge of operation in Sea of Oman and beyond in international waters.
The paramilitary Revolutionary Guard oversees a separate navy in the Persian Gulf. The U.S. Navy occasionally complains about harassment by the Guard’s gunboats.