This is really worth emphasizing against the caricature that leftists support absolutely any party which could be construed as a counterhegemonic force.
The many differences between Hamas and ISIS really couldn't be clearer if you actually examine both groups. One problem is that the term 'terrorist', at least as commonly used, serves to conflate/equate them.
I feel like the current Hamas charter, from 2017 makes it clear that their aims have changed, as do some statements in around 2005/2006 IIRC. Idk about them addressing 'allegations' per se.