“Iran has a dismal success rate in assassinating foreign officials.”

Link. Their hackers do better and can be deniable, so cyberwar retaliation more likely.