The negotiations for the hostage release/exchange for people detained in Israeli custody will no doubt have been highly complex and I expect the lists include compromises on both sides. Many of the people on the lists to be released from Israeli custody are people who have not been convicted and have instead been detained in arbitrary detention processes, some have received lengthy detention periods which are considered by many human rights bodies to be disproportionate and discriminatory, in that similar sentences would not be issued in cases where the accused person was of a different ethnicity or faith. It is widely argued by human rights bodies that many Palestinians detained would indeed come within the definition of 'hostages', and that one reason for the widespread use of arbitrary detention is to create a large 'pool' of potential exchange candidates. There are people on the release lists who have suffered greatly, in dire conditions within detention centres where torture is considered acceptable practice. There are also, on the list, some names which are horrendous to read and to consider that these people will walk free, whether that's in Palestine or somewhere else in the world - people who have carried out, and been proud to carry out, awful crimes including acts of rape, murder, and terrorist campaigns. What a deal to have to make, to let them out, knowing the harm they can do... There are names on that list who are clear security risks to Palestine, Israel and potentially further afield if they travel.
How do Palestinians free themselves from Hamas? I suppose it hinges upon having a viable alternative or alternatives, and opportunities for those alternatives to establish themselves. One of the key strategies of the Israeli government was to prop up Hamas and keep alternatives fragmented and on the fringes, but there are people out there who can bring communities together and propose alternatives to violence, if negotiators and all parties can create circumstances in which those proposals have a chance.
I don't think people are uninterested. There are lots of debates, discussions, passionate disagreements, campaign booths and street campaigns about different perspectives on the future for Palestine and Palestinians, including a future free from Hamas, PIJ and others. Just this weekend, there were 3 stalls in a nearby town centre about Palestine and one of them literally had a headline banner of "Free Palestine From Hamas" as they spoke about the importance of Palestine's Day After being free from the organisations which have carried out terrorist atrocities.