The attack was seen as payback for an airstrike nine days earlier on suspected militants at a madrassa religious school in Bajaur that killed more than 80 people.