Iranian is an oppressive regime that refuse opposition and have an extreme view of religion and it also care about Palestine . Both things can be true at the same time.
Hamas is an autocratic regime that killed innocent civilians and did some war crimes and terrorism but it is also a resistance group that has the right to attack the genocide idf . Both things can be true at the same time.
You are rejecting Palestinians right to armed resistance given by international laws and blame the genocide on Iran and Hamas instead of Israel and the west who financed it for over 7 decades. If you are confused , yes settler colonialism itself is genocidal started in 48