The carbonation creates carbonic acid in your teeth. It’s a huge driver of calories.
Of the of the issues with diet soda in particular is your tastes favor sweets. I used to drink 4-8 cans of Diet Dr Pepper daily. When I stopped, after a couple of weeks I found my taste preferences to be very different. I’d favor savory more attractive and sweet stuff would seem too sweet.