Screenshot 1 - the first 4 stacks of gnolls die from the wall, the 5th stack bypasses it and kills the fairy.
Screenshot 2 - all gnolls die in the wall.
The question is, why do the neutral units bypass the wall in the first case, but not in the second?