The government has said it is "appalled" by reports of Palestinians being killed while trying to access aid sites in Gaza.