I think all "fruity" candies are pretty much the same sugar, and our brain merely looks at the color and packaging and fills in a "flavor" for it. Maybe my taste buds are just not working, but I don't think I could do a blind taste test and identify a candy's claimed flavor.
Yes i guess color and packaging make a huge part of the effect. But they do use artificial flavors and i imagine that i could blindly differentiate apple and strawberry candies, but i could not blindly associate them with their natural pendants.