Minecraft wiki entry for Combat, associated text: If the player accidentally hits a wandering trader, the trader's llama will become angry and spit at the player. The player can dodge attack or make 2 trader llama attack each other by hide behind one of the llamas. However, if the wandering trader isn't present, hitting trader llamas will cause them to act like a passive mob and run away. When killed it can drop a lead, but only if the wandering trader is holding them.