It was hardship brought on by not attempting to address the problems. Sanctions made things a bit worse but if Iran put effort into ensuring there was fresh water instead of funding terrorists and building missles things would have been a lot better for the people. (And likely no senctions for those things)
A bit worse? The sanctions directly brought about this. Scott Bessent admitted -- unprompted -- that the purpose of the sanctions was to destroy the Iranian economy.
I'm not saying the regime is good. It's not. It's terrible. But that does not change what the US has done.
The US has consistently made the suffering in Iran worse over the years. And let's not forget that the US and the British caused the Islamic revolutionaries to come into power by installing a puppet Shah that was deeply unpopular.