Hamas has used a network of tunnels running from Gaza to southern Israel to launch attacks on Israel and to kidnap Israeli soldiers into the coastal strip.
They were avenging the death of a friend who was killed in November 2015 while attempting to carry out a stabbing attack on soldiers at a West Bank crossing.