How to make mobs attack each other in Minecraft

Is there a relatively easy way to make mobs attack other mobs, for example zombies attack other zombies? I have tested summonning a snowball as another mob over a zombie, so the zombie thinks it was the other zombie that hurt him, but it didn't work at all, or I did something wrong.
I'm playing in 1.16 (20w22a).
I tested this command:
/execute at @e[type=minecraft:zombie,limit=1,sort=nearest] as @e[type=minecraft:zombie,limit=1,sort=furthest] run summon minecraft:snowball ~ ~3 ~
I also tested these commands, but they didn't work :(
1 /summon zombie ~ ~ ~ {UUIDMost:1L,UUIDLeast:0L} 2 /summon zombie ~ ~ ~ {Tags:["target"]} 3 /execute as @e[tag=target] at @s run summon snowball ~ ~4 ~ {owner:{L:0L,M:1L}}
here is an video link!
Best Answer
Though this is not universal to all mobs, you could name a vindicator "Johnny", and it would attack all mobs in its vicinity, except for other illagers.
Alternatively, you could try spawning a skeleton and a different mob, and going into Survival mode, running between the two mobs. The skeleton would try and shoot you, but you dodge it, causing the fired arrow to hit the other mob. This would cause a mob fight to be staged.
I hope these methods work well.
Pictures about "How to make mobs attack each other in Minecraft"



What mobs can fight each other in Minecraft?
Mobs that are considered to be "Natural Enemies" in Minecraft- Guardians and elder guardians attack squids.
- Polar bears attack foxes.
- Llamas spit on and attack wolves.
- Wolves will attack skeletons, skeleton horsemen, foxes, sheep, spider jockeys and wither skeletons without any input from the player.
Make mobs fight each other in Minecraft with commands
More answers regarding how to make mobs attack each other in Minecraft
Answer 2
You can use the /team and make two teams and assign the mobs to the teams. The mobs will fight each other automatically.
Answer 3
If you position a skeleton behind another mob and the skeleton shoots that mob, they will attack each other, or you can use a vindicator named "Johnny" which will attack every mob around it (including other Illagers), but those mobs won't fight back. Enemies accidentally attacking each other is the best way to do this, and it's super easy to set up too. Otherwise, TGPMinecraft has a good method for doing this and his answer is useful if you mean to do this by commands
Answer 4
I know that archers can trigger attack between mobs, try with an arrow
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Keira Burton, Amina Filkins, Ron Lach, Vanessa Garcia