The same thing happens if you put sugar in it. When I was a kid many years ago, my brother and I used to put a spoon full of sugar into a cup full of coke, it used to do exactly that with all the carbon dioxide being released and the coke tasting like a coke cordial.