That's life
There might be another cause.
I went through a lot of health problems in the 70s..liver pain, bowels..aches and pains..a lot of stress..at one time diagnosed as cancer and given a week...
Had a similar thing in the late 80s and was schooled back onto short range.
Lost my license two years later after a head injury and a breakdown.
Several times was told that I was too nervous and shouldn't be flying.
Bit of a laugh really as then spent the next twenty years flying gliders in the alps, instructing aerobatics and now paraglide.
You can't get into the air in a more dangerous way bar base jumping..so much for nervous.
With hindsight I am sure it was Aerotoxic syndrome.
iMHO there is a cover up..could quote you on some sudden deaths and suicides.
Trouble is some of my doctors couldn't fathom it out and used the insanity card.
Stopping flying airliners my health improved no end but I also did a NLP course which helped my neurrological problems.
Good luck