The ISIS affiliate said the attack was revenge for the death of Abu Anas al-Libi. He died earlier this month in U.S. custody, just days before his trial for the bombings of U.S. embassies in East Africa in 1998.