Yes. Keep reading that same Wikipedia article and you will find that groups in Gaza had independently been firing rockets against the direction of Hamas who at least by may was trying to enter into peace agreements with Israel.
Edit: to bring it back, Israel put blockade on the entire Palestinian Territories until Hamas was removed.