Why is Lama attacking my dog (Minecraft)?

Ta
3

Yesterday I got a dog from Minecraft and was about to bring it to my island.

I had a lama before that. Now I was with the dog on my island and my llama started attacking or spitting on the dog and almost finished him off and I had to kill my llama so that nothing happens to the dog.

Why did Lama attack the dog? I had the dog on a leash and he always ran after me when I fed him rotten meat

pr

The only thing I can think of is that the dog attacked the llama. When a llama is attacked, it starts to spit.

Ta

So I looked the dog didn't do anything. Lama was not in the way and also stood further away. When he saw the dog it came running straight away and I had the dog on a leash

Po

Does your dog have a collar or, in other words, did you actually tame him with bones?

If not, it was still a wolf that llamas, unlike dogs, actually attack on their own.