Who really knows why mantra meditation works... but this is a pretty good shot at an explanation from the Deep Meditation book.
"The mind always seeks the path of least resistance to express itself. Most of the time this is by making more and more thoughts. But it is also possible to create a situation in the mind that turns the path of least resistance into one leading to fewer and fewer thoughts."