It is glazed while still hot so that the water evaporates and leaves a sticky sugar coating. Commercially made buns are sometimes topped with glace icing.
To create its characteristic crust, the bun is glazed while it's still warm, causing the water to evaporate and leave behind a sweet, sticky layer. Similarly, some factory-made buns may be adorned with a glaze icing.