Colorful candies like Skittles are made with FD&C dyes, sugar and other substances. By adding hot water with the skittles it starts to release the dyes as you can see here with the experiment.
Try different candies to see if you get the same results. Or start the candy in the middle of the plate to see what happens. Best part is you can still eat them.