Three men attempting to infiltrate into Israel carrying knives were shot and wounded by Israel Defense Forces, according to an army statement on Wednesday.

“Troops spotted three suspects crossing the security fence and infiltrating into Israel from the southern Gaza Strip,” it said. “In response, the soldiers fired at the suspects. Knives were found in their possession.”

They were transferred to an Israeli hospital for treatment.

The attempt came as tensions have increased along the Israel-Gaza border, following a flare-up that saw Hamas shooting rockets into Israel last week and Israel responding with airstrikes on Hamas targets.

On Sunday, Israel reopened the Kerem Shalom and Erez crossings between Israel and Gaza. On Wednesday, Hamas agreed to desist in launching incendiary and explosive balloons into Israel.