Hamas says it fired rockets at Israel from Gaza