What happened between Trump withdrawing from the treaty and Fordo getting bombed? I feel like you're perhaps missing a few critical steps on the Iranian side.
Trump signaled that diplomacy wasn't going to solve the tension, and they weren't getting what they wanted to in exchange for not building weapons. Of course they were going to build them. Why would they not, whether for offense or defense?