AI is not a program in the classical sense.
There is a scheme (say, neural network), by which a solution is arrived. The rules for this are rather clear. But the result is a parametrized network, and no human can explain why these parameters are this way.
You know how the AI got at that...