Gaza residents were woken by airstrikes hitting buildings as Israel shattered a two-month ceasefire.