But its main focus was a demand that Palestinian refugees be allowed the right of return to towns and villages which their families fled from, or were driven out of, when the state of Israel was created in 1948.
In a statement, the Israeli military accused Hamas of “cynically exploiting women and children, sending them to the security fence and endangering their lives”.
The military said that more than 100 army sharpshooters had been deployed in the area and earth-moving vehicles piled up the dirt mounds to stop any attempt to breach the barrier.
Major General Eyal Zamir, head of Israel’s Southern Command, said his forces had identified “attempts to carry out terror attacks under the camouflage of riots”.
Hamas, which seeks Israel’s destruction, had earlier urged protesters to adhere to the “peaceful nature” of the protest.
Israel has long ruled out any right of return, fearing an influx of Arabs that would wipe out its Jewish majority. It argues that refugees should resettle in a future state the Palestinians seek in the Israeli-occupied West Bank and Gaza. Peace talks to that end have been frozen since 2014.
The protest, which also coincided with Good Friday and the start of the Jewish holiday of Passover, is scheduled to culminate on May 15, the day Palestinians commemorate what they call the “Nakba,” or “Catastrophe” when the Israeli state was created.
The protest organisers include Hamas and representatives of other Palestinian factions.
There were also small protests in the Israeli-occupied West Bank, and about 65 Palestinians were injured.
In Gaza, the protest was dubbed “The March of Return” and some of the tents bore names of the refugees’ original villages in what is now Israel, written in Arabic and Hebrew alike.
Citing security concerns, Israel, which withdrew troops and settlers from Gaza in 2005, blockades the coastal territory, maintaining tight restrictions on the movement of Palestinians and goods across the frontier. Egypt, battling an Islamist insurgency in neighboring Sinai, keeps its border with Gaza largely closed.