I have had a productive cough for three or four years, and despite numerous scans, x-rays, tests, etc., medical science is yet to find the cause.
I applied in response to a Facebook ad to go on a trial for unexplained coughing, but once they heard I had / have cancer, I was knocked back.
Don’t assume the worst.
Cheers, John.