磨牙 has two distinct uses: (1) the medical/physical sense of bruxism (teeth grinding during sleep), and (2) the colloquial sense of 'talking back and forth without getting anywhere' — similar to English 'going around in circles'. Context makes the meaning clear.