This is due to the foaming agents used in most toothpastes. The biggest culprit is sodium lauryl (ether) sulphate (SLES/ SLS). These foaming agents are surfactants and they bind to certain taste receptors in your mouth, thus altering your taste perception. You can avoid this entirely by switching your toothpaste to something that uses no foaming agents or those of the non-surfactant type.
Some people are also allergic to them. I was getting canker sores in my mouth for years without understand why.
Then my cousin discovered he’s allergic to SLS. I quit toothpaste with SLS and I never get them anymore. It’s rare but you never know who else struggles with it and doesn’t know.
Do you know any US toothpaste without sulphates that is not a scam like 99% of the brands, that typically charge 300% more for ADs like (whitening bla bla..)