Bubbles were sometimes to be seen in photographic lenses long ago. The effect on the image was negligible and it was not regarded as a ground for rejecting the lens at the manufacturing stage, nor as a reason for complaint by the customer. I once owned a very old lens with a bubble in one of the elements.
Later, improvements in manufacturing methods made them a thing of the past.