How is Rock Candy Formed?
Making rock candy is similar to making simple syrup... Except you'll oversaturate the syrup solution (AKA add too much sugar to it) and then let it cool and rest so sugar crystals can form.
As the solution cools, it becomes unstable and all the sugar can't stay in the liquid, so it attaches itself to the skewer.