Why Did Hamas Suddenly Attack Israel ?

Israel-Palestine Conflict :

 Palestinian armed group Hamas suddenly launched an attack on Israel on Saturday, firing 5,000 rockets.

Israel,Palestine,Hamas attack.