Maybe your mom reassured you when you were younger that the cough syrup would taste "just like candy" -- usually cherry, but ...
The dye, known for its bright cherry-red color, is found in candies, snack cakes, maraschino cherries, and some beverages.