In this example, why did the price of candy go down after Halloween?

The price of candy likely went down after Halloween because stores and retailers want to get rid of their excess inventory. Since Halloween is over, the demand for Halloween-themed candy decreases significantly. As a result, stores start discounting the prices to attract customers and clear their shelves for upcoming holiday merchandise.