Never attribute to malice that which can be explained by incompetence. But don’t rule out malice.
Iran does not have the industrial capacity to produce indigenous ICBMs. Their supply chain is vulnerable. MOSSAD and once even the CIA were capable of mischief.
These nations export technical know how to pretty much anyone with the funds, not unlike any of the 60’s TV bad guys that Hollywood was so fond of creating.