I have run into this as well. As a consequence, I simply steer clear of labels \tag{…} will generate a a tag for you, though you cannot refer to this with a ref later.
I think it would be fantastic if Obsidian implemented a ‘refresh all math’ command, which would also improve usability with other MathJax/LaTeX programs.