Answer
Khatami was critical of Ahmadinejad's government. This criticism stemmed from political and ideological differences between the two leaders. Khatami represented a reformist and moderate wing within Iran's political spectrum, emphasizing political openness, social reforms, and improved relations with the international community. In contrast, Ahmadinejad belonged to a more conservative and populist camp, known for his hardline stance on domestic and foreign policies, including his confrontational approach towards Western countries.