It resulted from a misunderstanding, as the glass maker mixed up cocoa with coca, an ingredient once present in Coca-Cola's formula. Regardless, the "contour bottle" design remained a part of the product's branding for decades, with the design patented in 1977, and you're very unlikely to mix this design up with that of another drink even to this day.