Your cake was likely too warm when you poured the glaze on top. Make sure your cake is cool to the touch before glazing. This will take at least 2 hours.