 No one really knows how the most advanced algorithms do what they do. The training procedure in deep machine learning determines the settings of millions of parameters which interact in such a complex way that we have reached a point where even the creator of an algorithm doesn't really quite understand it completely. This is what is meant by the black box of AI and is becoming not so much a question of ignorance but rather one of impossibility.