“Alice in Wonderland” is a dream story and is supposed to be a dream. It contains much nonsense which is intended to be nonsense. It has no moral and very little plot, being mainly a series of encounters mostly unconnected with one another.
“The Lion, the Witch, and the Wardrobe” is supposed to be factual, within the story. That is, it is not supposed to be a dream, within the story. It is part of a genre of many books in which modern children get caught up in a magical adventure, such as most of the books by E. Nesbit, the Oz books, “Peter Pan”, Hilda Lewis’s “The Ship that Flew”, the juvenile books of Catherine Anthony Clark, Frederick Cliapin’s “Toodles of Treasure Town and her Snowman”, and many, many others. Lewis almost entirely avoids the frivolity of many of the earlier tales in the genre. which makes his story seem more likely to be real.
Alice herself is not well characterized, as indeed she shouldn’t be. The term “Alice” is sometimes used to refer to the most normal character in a story with whom the reader is supposed to identify. In the genre of “Children’s Adventures with Magic”, the story usually involves two or more children which allows for more characterization. Lewis very much distinguishes his children, even making one of them be a traitor and villain (until he repents).
Lewis’s story has a strong “Christian” moral base, intended to show Jesus in a parallel world under the guise of Aslan. In the Alice stories, there is no Christian or moral teaching whatsoever (though nothing that might be called immoral is favourably portrayed).
Both books contain talking animals.