Hours later , the Israeli military says troops opened fire at several gunmen who approached the border fence near the Erez crossing in northern Gaza .