thanks for using Health Care magic .
I would be pleased to answer your question
A click of the TMJ
may not cause this , the causes might range from local lymph
node growth , Lung tumour , inflammation of the covering of the lung called pleuritis
or air collection under the lung covering.
Please get a chest Xray done or an MRI
That would be beneficial . Thanks and take care