If one fires a weapon at someone, the crime is attempted murder, which is what the Gazans are guilty of. This is considered a crime in most countries. Maybe not in your part of the world.
Turkey's FM: Saudi Arabia to deploy warplanes to Turkish base for fight against ISIS (DPA)
from the article: Israel hits Gaza for second time in 24 hours after mortar barrage