What actually happened was...:
I summoned a zombie horse by command:
/summon minecraft:zombie_horse ~ ~ ~ {Passengers: [{id: "minecraft:creeper"}]}
Then I summoned a cat right next to the zombie horse:
/summon minecraft:cat
The zombie horse starts spinning and the creeper never goes away from the cat.
https://drive.google.com/file/d/1cNnreCwYWi9rsy0sPQhAGZMX79PNH0PN/view?usp=sharing
Then I tried skeleton on a horse:
/summon minecraft:horse ~ ~ ~ {Passengers: [{id: "minecraft:skeleton"}]}
And summoned a wolf without AI:
/summon minecraft:wolf ~ ~ ~ {NoAI: 1b}
Same thing still happens.
https://drive.google.com/file/d/1ilaQYH9EzBuKFzT8x4QWXqrkHgSEkQmH/view?usp=sharing
Steps to Reproduce:
1. Create a world
2. Summon an entity A riding on another entity B.
3. Summon an entity C that A wants to avoid.
Can confirm
[media]