Twenty-seven Palestinians have been killed by Israeli fire while waiting for aid to be distributed, according to Gaza's health ministry.