Why are creepers afraid of cats? [closed]

Once I found out that creepers are afraid of ocelots, I took my pet cat outside and lead it to a creeper, which immediately ran away. My question is: is there a real reason why creepers are afraid of ocelots?


Solution 1:

It is a part of their inherent behaviour

Creepers will flee from ocelots and cats if one is too close, until they are approximately 16 blocks away from the feline(s).

Source

This is the same for skeletons that flee from dogs, for example.

There is no real reason why, other than that. But people have used it to their advantage, to make creeper farms, or to set up guards around their bases to protect them from creepers.