Humor is the instinct for taking pain playfully.
I think kids slowly begin to realize that what they're learning relates to other things they know. Then learning starts to get more and more exciting.