Not storing chocolate correctly
To ensure that the quality is not affected, chocolate should always be stored in a slightly cool, dry, and dark location, such as a pantry or cupboard, at temperatures lower than 21 Celsius. So the chocolate bar you've been keeping in the refrigerator's coolest spot isn't exactly where it belongs.
You run the risk of the chocolate absorbing the flavor of nearby strongly flavored foods when you store chocolate in the refrigerator. The chocolate may absorb moisture from the refrigerator's humidity, changing its flavor and making it deteriorate. Additionally, the chocolate has a danger of blooming owing to temperature fluctuations when it is taken out of the refrigerator and quickly exposed to the warm temperatures of cooking. Additionally, you should avoid keeping chocolate or items containing chocolate close to a stove because the heat will melt the chocolate and alter the flavor. The easiest way to keep chocolate safe from heat is in airtight containers at a cool room temperature.