NAHAL OZ, Israel — With tear gas and burning tires fouling the air and gunfire periodically ringing out from one direction, Palestinian demonstrators and Israeli soldiers faced off along the fence hemming in the Gaza Strip for a second week on Friday. Nine Palestinians were killed, including two teenagers, and a thousand were wounded, Palestinian officials said.

The demonstrations were smaller than those last week, when 22 people were killed. But the death toll was significant, despite a pledge by Hamas, the militant group that controls Gaza, that the protest would be peaceful, and by Israel that it had learned from last week and would use live fire judiciously.