Israel's Netanyahu, Hamas both boosted by Gaza violence