On Tuesday, some Apple services and the National Security Agency’s highly classified communications network went down.