'The accidental firing of the rocket towards Israel was caused by Hamas' readiness for Israeli strikes,' a source in the military wing of Hamas told Al-Jazeera on Thursday. 'The decision to prepare for an Israeli strike was made in light of Israel's intentions to launch aggressive action before the elections,' the source said.