One of Gaza’s last functioning hospitals has been emptying out in recent days as Israel has ordered the evacuation of nearby areas and signaled a possible ground operation in a town that has been largely spared throughout the war, officials said Monday.