I suspected it was an effect of sunlight on sugar, but had no way to know for sure. Nobody would admit that the bottles were transported or stored in inadequate conditions either.
Then I quit regular coke and later diet coke too, so no idea if it's still a problem.