Ali Larijani used to be a hardliner. He was the head of the IRIB. The IRIB as the propaganda machine of the system is an organization that is not offered to just anybody. He's one of the most trusted people in Khamenei's circle. Sure, he's a reformist now, but he has close ties with Khamenei and his family. His brother used to be the Head of the Tehran University of Medical Sciences. His other brother was the head of the judiciary system. His other brother is the top-strategist of the system on the level of people like Velayati and he founded the Institute for Research in Fundamental Sciences, a key school in theoretical physics and mathematics in Iran. So, it's way more complicated than what you think.
The subsidy system is in place for the people in the system to steal our wealth. We're smuggling fuel to neighboring countries. One liter of gasoline in Iran is about 2-3 cents. In most of our neighboring countries, it's well above $1 per liter, or sometimes even $1.5 per liter. Tens of millions of liters of fuel are smuggled monthly. Who do you think can do that without getting arrested? Obviously, normal citizens cannot be behind this scale of smuggling.
They hated Ahmadinejad because he wanted to stop this free wealth-generating system for these people.