You get similar treatment with an Israeli stamp in your passport if you go to many Muslim countries, not that they will actually stamp your passport anymore. Cuba and DPRK will also avoid stamping your passport for similar reasons with respect to American sanctions (no idea bout Iran).