Why did the AI do that...?

Not necessarily bugs but a sticky topic to highlight what appears to be stupid AI (or human!) plays might be useful. Here is one play I do not understand - Cunning Sparkmage's ability is activated and instead of taking out the 1/1 Snake token it hits the 2/2 Wolf token instead for an impotent 1?
AI is MCTS (cheat), level 4.
AI is MCTS (cheat), level 4.