Liam and Pumpkin are both wethers (castrated males) but they still butt heads sometimes. They do it to assert their dominance, often during mating season.
But I suspect that this time they were reacting to being snowed in, getting used to sharing a much smaller space than usual.