Earlier quoted context omitted.
Not that this it's a good excuse, but it stressed doctors out when they are not able to diagnose something. So when all the tests and checks look good they are quick to dismiss the problems as psychosomatic as a way to cope with the stress of being unable to diagnose you. It's a dysregulation of the ANS/sympathetic nervous system which is likely caused by auto antibodies - so it's very much physiological and outside…
While you are right, there is a common misconception that psychosomatic means that the patient is making up its symptoms and that it’s in his mind. That’s not what a doctor means by psychosomatic, but rather than the symptoms are totally real but that they are originating from stress. So, any good doctor will try to heal your symptoms regardless of the cause. The only difference when they think it’s psychosomatic is…
The symptoms exist, they are originating due to thoughts/beliefs in the mind.