Well skunks are omnivores and will eat snakes (as well as pretty much anything else then can snack on) so perhaps the smell triggered something in the snake or it was just a very unusual scent signature that it had never encountered before.