They don’t do this purposefully but they believe that there is some illness and think it is their responsibility to create evidence to prove their stand.
Medical treatment begins in relieving the symptoms first and in healing the injury of the patients. Psychotherapy is given along with strong medications like antipsychotic drugs. Some of them will have depression symptoms and borderline personality disorder and treatment becomes very difficult.
Pictures of Munchausen Syndrome by proxy :