Also Hamas is a terrorist organization and is also committing war crimes, likely on a daily basis, and that’s all there is to that. They both need to be punished for all the evil they’ve done.
Being against one group of terrorists doesn't mean being for another one.