Israeli strikes and gunfire killed at least four Palestinians in Gaza while ceasefire talks continue.