It sounds like you were looking at the wrong end of the snake - they do this while pooping/ farting etc.