The real reason behind this is it’s their natural reaction to anything that sneaks up on them without making any noise. Cats tend to be scared or wary of the unknown, as it could represent the danger of a predator, and in the case of a cucumber, a snake.