Maybe a neurological problem. My llama, little as he is will take on dogs, coyotes and about three months ago, a mountain lion but he loved the goats and gets along fine with the horses.
Maybe berzerk, I’ve read that can happen to llamas but never witnessed it.