while gay rights do not exist in Gaza, I seem to recall these victims were "judicially" murdered for being accused of collaborating with Israel.
Right after a war with Israel, Hamas, to intimidate everyone after getting badly whipped, cleared out the jail & executed the suspects