U.S. officials say now-suspended programs across Africa were designed specifically to respond to national security threats and contain the spread of terrorism.