Israel should stop settlements in the West Bank because its the right thing to do. However if I were a Palestinian in Gaza and a peace deal was derailed because Hamas was refusing to agree without West Bank settlement concessions I’d be pretty pissed.
That being said given that Hamas broke the last ceasefire agreement, and their stated goal is to conduct other attacks like Oct 7th, I’m not sure how a ceasefire could be reached even on narrow grounds.