Four people have been killed in Gaza after walls collapsed on to tents during strong winds and rainfall, hospital authorities have said.