Most IDF spokespersons serve for two years, but some Israeli media have reported that Hagari was expected to be promoted instead of retiring.
Hagari, 48, has served in the IDF since 1995. He led the Shayetet 13 (Flotilla 13) naval commando unit from 2019-2021.
In June, Hagari told the Channel 13 News broadcaster that the government's goal of ending Hamas rule in Gaza can only truly be accomplished by putting in place a viable alternative.
Hagari claimed that "Hamas is an idea" and that, as such, "anyone who thinks it can be eliminated is wrong." He also said that the Iran-backed terrorist organization is "rooted in the hearts of the people" of Gaza.
In December, Defense Minister Israel Katz threatened disciplinary action against Hagari after he expressed in-uniform criticism of the "Feldstein Law," a bill making its way through the Knesset that would give immunity to all members of the security establishment who give classified files to the prime minister or defense minister.