There are geopolitical realities: A State of Israel. Bad or good,yes it was established. Instead of working towards how to get back the pre-1967 borders or halting the expansion of settlements inside Palestinian Authority territory,when trying to solve this issue diplomatically,both Iran and certain notorious palestinian groups,only had one unrealistic demand: The destruction of the whole country. The "entity" as they called it.
That was willingly denying the existence of a de facto State.
You know understand what I mean? It didn't help that Iranian leaders had been calling for the annihilation of the entire country for decades. This narration in combination with trying to get nuclear weapons,only led to the logical thing every other country with big balls would do: Get them,before they get us.