There is no pear in it: 'li' likely stands for a sound meaning 'cooked'. Vendors' steamers had a whistle, so the snack was also nicknamed 'weng'er weng'er gao' after the humming it made.
Rice flour packed into small perforated wooden cups and steamed briefly over a pot, then smeared with toppings, originally bean paste, sugar or hawthorn, now many fruit flavors.
Chuan'r (Grilled Meat Skewers)
Youtiao (Fried Dough Stick)
Tanghulu (Candied Hawthorn Skewers)
Malatang (Self-Serve Spicy Broth)