 Due to the heat, the sugar is caramelized and also enters in what is known as Maillard reaction.The sugar glaze that melts to become caramel forms a continuous coat, also adds to firmness of cake.Shortly afterwards, pure sugar (not almond sugar) was applied to the dough's surface before baking, even with the omission of sweetening subsequent to baking.