War was declared after an attack that began at dawn Saturday when thousands of rockets were fired toward Israel from Gaza.