Why do Alpacas Spit?

they spit when they are sad, mad, male alpacas spit at eachother, or protection of themselves or their young