In fact, Iran has attacked US and Israeli diplomatic posts off-and-on for decades, most recently in 2023, when Iran helped plan an attack on the US embassy in Baghdad.
Reagan was the one who blew up an oil platform. Not much else since then has been done until Trump took out Solimani. Khadafy learned quickly but he was smarter.