Thanks for the query to H.C.M. Forum.
May be due to calculus in right side urinary tract
May be due to right side lower lobe inflammation or thickened pleura
( membrane rubbing)
Consult a physician and get in blood examination for C B C , E S R ( chronic or acute infection), serum bilirubin
level for jaundice
, blood for urea, urine analysis.
Hope I have answered your question.
If further any question I will help.
Get well soon.