The violent moments in the Alice books stand in sharp contrast to the more lighthearted moments of fantasy. Many jokes are morbid or focus on the possibility of death. Conflict, battle, and even warfare are depicted as inevitable but pointless. People are shown to be bloodthirsty and irrational, resorting to violence even when it is clearly unnecessary. There is no attempt to make sense of violent or brutal behavior, although it is deplored and resisted. Violence and pain do not illustrate any moral point about the world; they are simply something to be noticed and avoided.
Violent moments in the Alice books are usually threats rather than actual bloodshed; they remind us of the dangers that exist in the real world, but they do not progress far enough to disrupt the fantasy story.
Violence in the Alice books is a shocking reminder of the suffering and pain that exist without reason in the real world. Even in her imagination, Alice can't escape this fundamental truth of existence.