Great question! When it's flat you've opened it and the carbon dioxide has bubbled out and left the drink. So, you're missing one key ingredient for the reaction.
I’m a food scientist by PhD, a science writer, and a YouTuber. I’m fascinated by food science and enjoy writing and sharing what I’ve learn.