As far as I understand, they've made many offers to release the hostages in exchange for their own people or for other concessions. You can track the negotiations pretty well, although occasionally the diplomats get bombed for some reason.
Diplomats - who don't even live in the strip - were recently (unsuccessfully) bombed.
If Hamas wants to end the war (or supposed genocide) then they can release the hostages with no additional demands. The fact that the supposed genocide victims choose to continue the war is quite the sign that this is not genocide, in what other situation would a victim choose to continue a war that is a genocide against his people?