as others have said, tension myositis syndrome. The theory is supressing uncomfortable thoughts results in the body instead trying to communicate them as pain.
I personally think its quack science, but it seems to work for some people, so that is what matters.