Question about how global $wp_admin_bar works

You are not declaring an ‘id’ key. Without one, the id will default to a sanitized version of the ‘title’ value – hence your overwrite.

Declare a unique id element, and you should be golden.

That said, add_node is now the preferred method of achieving this.