The military said Thursday that Israeli aircraft and tanks fired at the militants near a border fence .