Why does Barq's Root Beer have caffeine?

I view all of these calorie/sweetener-free carbonated “flavored” waters the same: as best described by Twitter, re LaCroix.

edit: in particular,