An Israeli military official told Reuters Hamas violated the ceasefire with an attack against Israeli forces in an area under Israeli control.