Can diet soda affect BG levels?

It just doesn't make sense to me. Isn't it basiclly just carbonated water with flavoring? How could it?

Edit: The reason I'm making this thread is because I keep reading things that tell me they do.

Things like the following: https://www.diabetesselfmanagement.com/blog/diet-soda-and-diabetes/

https://www.medicalnewstoday.com/articles/310909.php