I agree that the optics of that event don't look great. But the fact is, the ceremony was officially conducted in the name of "All passengers of the downed helicopter and their families". Because of that phrasing, the UNSC members who went along with it probably felt they had to do so as a matter of protocol.
Again - not something I would go along with, if I were in the room. But it also wasn't the personalized tribute to Raisi and no one else that you're making it out to be.
Meanwhile, Israel's primary airport is named after the architect of the 1948 expulsions, the Qibya massacre and countless other atrocities.
https://en.wikipedia.org/wiki/Ben_Gurion_Airport
The point isn't whataboutism, but rather: "Credibility starts at home".