Minecraft wiki entry for Phantom, associated text: Cats hiss at phantoms that are currently attacking players, and phantoms try to stay at least 16 blocks away from them. In Bedrock Edition, phantoms also avoid ocelots in the same manner.