I would argue that Iran isnt an ally of Hamas,instead its more like Hamas is a vassal of the Iranians.Literally no one is claiming Iran is the only party involved. Just that Iran is one of major allies of Hamas and there is absolutely no denying it. So there is no pointing the finger at Iran too hard.