Israel says it was trying to protect an aid delivery from Hamas hijackers when it conducted two air strikes in Gaza that killed 13 people.