I don't think the current regime has changed their policy out of the goodness of their hearts, or for the concerns of the citizenry. If I were to hazard a guess, I'm guessing it is so their army of digital burglars can wreak havoc on US sites, in retaliation for the bombings by the US. So I guess we can only expect more ransomware and more digital mayhem.
Iranian-sponsored threat actors have had network access throughout this entire conflict.
The popular theory that all Iranian internet was shut off like Johnny pulling the plug out of the socket in Airplane is simplistic and beyond ludicrous.