I think if murderers and rapists choose to situate themselves in, or in tunnels directly beneath, churches, mosques, hospitals and schools, then they can’t complain when civilians get hurt. And of course Hamas don’t complain - they are on record repeatedly saying they welcome the "martyrdom" of Gazan civilians. (They say it from their hotels abroad and Gazan tunnels, of course, hoping to be safe themselves.)
You think it’s a good idea to reward kidnappers, rapists and murderers by negotiating with them. I don’t. It just encourages them to carry out more murders and kidnaps so they have more ammunition for emotional blackmail. The sort of emotional blackmail they are currently engaging in, by murdering in cold blood six hostages held in captivity for nearly a year, when it seemed that they were near being rescued, and threatening to murder more if their demands aren’t met.
I don’t agree with Israel's policy of holding people without charge, but prisoners released by Israel in previous exchanges were not innocent civilians kidnapped from their homes. In fact one of them was Yahya Sinwar, the current leader of Hamas and reported mastermind of the October rapes, massacre and abductions. Ironically, his life had been saved by treatment in an Israeli hospital for a potentially fatal brain tumour.
It is beyond my understanding how anyone (other than the anguished relatives of the hostages) can think it is a good idea to reward people like that by agreeing to their demands.