Compared to room temperature or warm butter, cold butter is more likely to remain in a solid state at the start of baking, which can create an effective barrier and help to prevent the cake from sticking even as the butter melts. Additionally, cold butter is less likely to leave behind excess grease in the pan.