First and foremost, being an ally of the United States does not grant any country the right to openly violate international law with impunity—yet that is what Israel has been doing for decades. This includes, but not limited to, the establishment of illegal settlements in the West Bank prior to Oct 7, and more recently, the grim distinction of holding the highest rate of child fatalities per hour following Oct 7.
Despite these clear violations of international humanitarian and war laws, Iran’s official position on the Israel-Palestine conflict—which has been submitted to the United Nations—advocates for a democratic resolution, not a military one. Iran has proposed an inclusive election process in which all stakeholders, including refugees, can participate.
While Iran has never declared any intention to launch an unprovoked military strike against Israel, Israel has frequently engaged in acts of aggression, including the assassination of Iranian scientists and officials.
It's also worth noting that Iran voluntarily limited its uranium enrichment activities under the JCPOA, demonstrating a willingness to forgo its rights in the interest of peace. In contrast, Israel has never accepted the NPT in the first place.