it turns out that its a reaction between the ketchup and the horseradish. horseradish is high in acid and ketchup is high in pectin, together the two ingredients in cocktail sauce makes a gel when chilled.