Hitting the jumping spidery mobs doesn't totally stop their forward momentum, so they can jump at you then get hit by a sword but still fly into you...