We stopped occupying Aza in 2005 to end the rocket attacks. Well they have been going on ever since, or did you not hear the news? Oh that naval blockade was only imposed in 2007, when Hamas took power. As in the same Hamas group responsible for thousands of rockets, missiles, and other acts of terror - even before they took control in Aza.
U.S. State Dept. condemns 'vicious terrorist attack' that killed Palestinian infant (Haaretz)