J.W.
This may sound extreme, but when our daughter was doing this....be it molars coming in, teething or frustration, it needs to be corrected.
We told our daughter that her mouth was dirty now and had to be washed out. One swish of a tiny drop of liquid soap did the trick. I had heard you could use mouthwash, too, but worried about the alcohol content on that.
Good luck.