Crystallization can happen if the syrup is overcooked or if sugar crystals form on the sides of the pot during cooking. To help prevent this, wipe down the pot’s sides with a damp pastry brush while the syrup simmers.