The Israeli military says two soldiers have been wounded by gunshots from the Hamas-controlled Gaza Strip.

The army said Friday the soldiers were moderately and lightly wounded, respectively. Israeli aircraft hit a Hamas militant site in response.

The shootings come as thousands of Palestinians demonstrate along the territory's perimeter fence with Israel.

Meanwhile, the Gaza health ministry says 50 Palestinians have suffered various levels of injury during protests at several sections of the fence. There has been no breakdown of what caused their wounds.

Hamas has accused Israel of not honoring an Egyptian deal to ease Gaza's restrictions. Its leaders went to Egypt on Thursday for more discussions.

More than 200 Palestinians and an Israeli soldier have been killed in the protests since they were launched last spring.