The Gaza Strip’s dominant Hamas Islamists denied responsibility on Thursday for rockets fired into Israel, saying the attack took place as it held truce talks with Egyptian mediators.