Van Leeuwen Ice Cream usually draws customers with gourmet takes on classics like vanilla and pistachio. But occasionally, the artisanal ice cream maker headquartered in New York slips in what it calls a shock flavor, like Hidden Valley Ranch or pizza.

Surprising flavor combinations think gravy-flavored Jones Soda or Sour Patch Kids Oreos — are showing up more frequently in grocery stores and restaurant chains.

Hershey recently introduced pink lemonade-flavored Kit Kats, while IHOP and Lays brought out Rooty Tooty Fresh n Fruity potato chips, designed to taste like strawberry-topped pancakes with a hint of bacon. In the United Kingdom, Little Moons made fish-and-chips mochi ice cream in 2021, while potato chip brand Walkers is known to celebrate Christmas with a Brussels sprout-flavored edition.

Usually, these are limited-time flavors, although occasionally theyre so popular they wind up on store shelves permanently, as Lays Flamin Hot Dill Pickle chips did in 2019.

While its tempting to pass them off as social media stunts, experts say theres more to the story. Food companies are responding to the changing and expanding tastes of consumers while also trying to keep brands relevant and distinct to win space on crowded store shelves.

Were in a really exciting time of flavor development where consumers are not just one thing. Youre not just a sour lover or a sweet lover. You want a little of this and a little of that, said Kristen Braun, the senior brand manager for Oreo innovation at Chicago-based food and beverage company Mondelez International. Companies are finding the freedom to explore a little bit more and get more creative.

Sour Patch Kids Oreos vanilla cream-filled cookies speckled with colorful bites of the sour candies are one of about a dozen limited-edition Oreo flavors that Mondelez plans to release this year. Braun said it takes the company one or two years to develop such products, which stay on shelves for about nine weeks. Shes already thinking ahead to future flavors that blur the lines between sweet, salty and spicy.

Oddball pairings arent entirely new in the food and beverage industry. Hubba Bubba released a bubble gum-flavored soda in the late 1980s, for example. But manufacturers and their suppliers have gotten more sophisticated and efficient, making it easier to experiment and put out limited-editions more frequently, said Mark Lang, a food marketing expert and associate professor of marketing at the University of Tampa.

Kyle Shadix, who as the corporate executive research chef for PepsiCo, has worked on beverages like Pepsi Maple Syrup and a strawberry shortcake Pepsi sold in Japan, said the members of Generation Z are also fueling innovation. Theyre diverse, adventurous and pick up on food trends quickly through social media, he said.

Theyre every chefs dream to design for, said Shadix, who is currently experimenting a lot with Mexican, Korean and Japanese flavors. Gen Z is going to drive us faster. Were going to start to see even more exploration quicker than in the past because theyre just so open to it.

Toying with flavors can boost brands in several ways. Sometimes they bring new customers to a brand. They might also nudge buyers to pick up the original flavor, Russell Zwanka, director of the food marketing program at Western Michigan University, said.

Sour Patch Oreos sound interesting, but nobody wants to risk buying Oreos that dont taste good, so people buy both, Zwanka said.

When companies combine brands, theyre trying to build an association in consumers minds. Peeps-flavored Pepsi, which came out last year, sends the message that Pepsi is current and fun, Lang said. Mustard-flavored Skittles, which came out last summer, made the 104-year-old Frenchs brand seem playful.

Enter Kraft Heinz, which approached Van Leeuwen Ice Cream a few years ago about macaroni and cheese-flavored ice cream. Ben Van Leeuwen, the companys co-founder and CEO, was doubtful at first but found that Krafts powder blended well with the Brooklyn-based companys ice cream.

Van Leeuwens Kraft Macaroni and Cheese ice cream came out to rave reviews in 2021 and was re-released for a short time last fall.

We will only do a shock flavor if we can make it good and distinct. We will not do a shock flavor where its just shock in name but taste like vanilla, Van Leeuwen said.

But novel flavor combinations dont always work. Van Leeuwen couldnt eat more than a few bites of his companys Hidden Valley Ranch ice cream, which contained onion and garlic powders. And shock flavors typically dont end up on the permanent menu because of their lower eat-ability, he said.

I think you would taste our mac and cheese and youd say, Oh, thats good, but do you want to take a pint of that mac and cheese from your freezer when youre watching whatever show on Netflix and eat the entire thing? Probably not, Van Leeuwen said.

Candy brand Brachs ran into that issue with its Turkey Dinner Candy Corn, a 2021 limited-edition version of the fall staple that tasted like turkey, stuffing, green beans, cranberry sauce, apple pie and coffee. Katie Duffy, vice president and general manager of seasonal at Ferrara Candy Co., which owns Brachs, acknowledged there was a gross-out factor.

We have learned from consumers that we dont want to have something where they eat a few pieces of candy and then they toss it because theres some things that they dont want to repeat, Duffy said. We want it to be a delicious flavor journey.

Brachs recently introduced Easter Brunch-flavored jelly beans, and they hit that mark, she said. The candy beans mimicked the flavors of blueberry maple pancakes, chocolate doughnuts, caramel cold brew, cinnamon rolls, berry smoothies and mimosa cocktails.

Shannon Weiner, senior director of insights and analytics at Ferrara, said the company closely tracks social media to see what flavors are trending. People are increasingly looking for dessert and dairy-flavored candies, she said. Theyre also seeking more international flavors like Tajin, a brand of chile-lime spice from Mexico that recently did a collaboration with Pop Tarts.

Lang thinks the more time people spend in restaurants or trying out new foods, the more they seek out unusual flavors.

We are variety-seeking animals. We constantly are seeking something new and different; its in our wiring, he said. We like to experiment.