Hundreds of Palestinians have protested in northern Gaza to demand an end to war and chanting “Hamas out,” social media posts showed, in a rare public show of opposition to the militant group that sparked the latest war with its Oct. 7, 2023 attack on Israel.