1. First, because cucumbers are green and cats are very sensitive to green and yellow, cats are so afraid of cucumbers.
Secondly, it is because the cat may not see the cucumber. Cucumber is big enough. When the cat suddenly sees it behind his back, it will be regarded as a threat.
3. Or the cat has seen some threats with similar shapes, which makes it feel scared.