More than 50,000 people have now been killed in Gaza since the Israel-Hamas war began, the territory's health ministry says.