Israel strikes targets in Gaza and halts the arrival of aid after it said Hamas militants fired on Israeli troops.