The bubbles come from CO$_2$ escaping from the pressurized bottle.
Work Step by Step
When soda is made, CO$_2$ is forced under high pressure to dissolve into the liquid. When the bottle is opened, pressure is released, producing the fizz.
Someone from the community is currently working feverishly to complete this textbook answer. Don’t worry, it shouldn’t be long.