Why does thawing Coca-Cola generate force and expand the can as it thaws?

If I take a warm unopened aluminum can of Coca-Cola and place it in the freezer and let the Coca-Cola freeze solid, then take the can out of the freezer and let it thaw unopened in a typical room, the lid of the aluminum can will invert and be pushed upwards as much as approximately one inch above the normal height of a can.

The can does not open. It just expands. If I let the Coca-Cola thaw out sufficiently, but not entirely, no Coca-Cola will bubble out of the can when I open it and I hear no gas escaping either.

I am confused by the force exerted by thawing Coca-Cola. What is going on? Why does the force disappear while much of the Coca-Cola is still frozen?

I caution anyone from repeating this 'experiment' because I am concerned the can could explode.

I have experienced expanding cans of Coca-Cola repeatedly because I like to drink Coca-Cola at near freezing temperature. At work I only have access to a refrigerator / freezer, but no ice. So, I frequently place a can of Coca-Cola in the freezer. Sometimes I forget the can is in the freezer and the Coca-Cola freezes solid. Only once has the can opened in the freezer itself I guess by 'exploding'.

Here is a related question, but it only addresses changes in sweetness as Coca-Cola thaws, not forces presumably caused by expanding gases.

Why does sweetness of coke change after freezing completely

Adding to your hypothesis, perhaps restating it, freezing forces carbon dioxide out of the liquid, which creates pockets of highly compressed gas. As the can warms, the gas begins to expand faster than it is reabsorbed into the liquid. If the integrity of the can remains intact, the gas will be reabsorbed, re-dissolved into the liquid. In my freezer, Cokes never survive that long.

Now ... that said, I have some pricey Belgian ales that are bottled in heavy 750ml bottles & corked with wire cages to hold the cork in. I have had at least one force a minute amount of liquid, presumably some gas too, past the cork before the bottle froze solid. When the beer thawed back to drinking temperature in the fridge, over a day or two, the beer was quite bubbly & tasty.

Huh, and I thought my family had monopoly on the "bloated Coca-Cola cans" technology!

Anyway, experimental facts: I've often seen cans expand in the freezer when forgotten for 24 hrs or so, and do testify to the mess they cause when exploding ;D. Don't try it unless you plan to wash your freezer thoroughly afterwards! Or carefully bag the can beforehand. On the other hand, never had a chance to observe expansion during slow thawing, although I know that if only partially frozen, a can's contents may restore to original "fizzy" state.

So, given that cans do expand if left long enough at below freezing temperatures, I think expansion while freezing has to do with:

1) Mainly the expansion of ice: put an unopened water bottle in the same conditions and you may end up with a cracked plastic bottle. Ice expands about 9% by volume compared to the original volume of water. Thinking of it, I'll have to measure the volume increase next time!

2) The release of $CO_2$ from ice: if you check the Coca-Cola ice before it melts, you can see that it is very porous, as opposed to the solid block obtained in the same conditions with a water bottle. Not saying that $CO_2$ expands, because it doesn't at these temperatures, but its separation from the liquid and the porous structure it creates may give some additional contribution to the expansion.

Assuming the above are reasonable hypotheses, we still have two open questions regarding your own observations:

• Why did you not observe expansion in the freezer more often? Likely, the cans were "frozen enough" not to slosh around when checked, but were not really frozen through and through. Complete freezing and release of $CO_2$ takes time, and it's possible you removed the cans from the freezer before significant expansion occurred. Or maybe the temperature was not low enough. Remember you have a syrup solution, not just water!

• Even so, why did the cans expand after taken out of the freezer? Preliminary observation: when you bring an already expanded, frozen can at room temperature, the gas definitely breaks the seal and escapes before anything else happens. If you really want to check it out, make sure to put the can in a roomy bowl first, or bag it! Makes a messy show again. In view of this, for a can that did not expand significantly yet in the freezer, I surmise that expansion at room temperature has to do entirely with expanding $CO_2$: First, when taken out of the freezer the can contains mostly ice and separated $CO_2$. The gas expands as it warms up, before the ice can melt, and bloats the can, but not sufficiently to break the seal. Second, as the ice melts and the liquid warms up towards room temperature, the $CO_2$ begins to dissolve back into the liquid since the can contents are still under pressure. After this point you won't see any gas escaping or liquid bubbling around the seal, just a bloated can.

There is plenty of room for experimentation here. Would be fun to check each point, but then it would waste a lot of Coca-Cola. Have fun! Hope this helps a little.