The example given in #3330 is a bit artificial but it may happen that tab switching triggers some dialog popup which steals focus and then this situation happens.
This happens regularly with the LSP plugin where, for now until there's the official API, I show warning that both TM and LSP are active if there are tags in the current document. But I have seen it on other occasions too.