Shooting lamp posts lights is different than targeting civilians and in many of those cases the civilians are their own people.
Those rockets have only killed 28 people in 14 years. That's not a problem, that's a nuisance.
BTW, they can't target anything. They're indiscriminate weapons. That's why they're considered war crimes.
Israel, on the other hand, can target their weapons and they target men, women, children and basically, anything that moves. They've killed thousands more civilians than the Palestinian's have. That's the elephant in the room.