Israel says its troops returned fire after Palestinians began shooting and detonating explosives .