Joint pain is a fairly common symptom for an underlying disease state. The most common cause would be some arthritis condition. Other possibilities include gout, tendinitis, gout, or lupus.
The most probable cause is from arthritis. The other possible cause is allergies. I have also known there were people that swelled from too much salt in their diet.