Israel said it launched military strikes on Hamas targets in Gaza, a move that threatens to undermine a shaky truce.