What can we learn from fairy tales?

Why in red riding hood does the wolf know that she has a grandma not a granny?