beyond recommending to the person to see a physician, everything is speculation.
One possible cause could be an old injury, maybe even unknown the the person which had damaged the cartilage in the knee. Bits of that can get in the way with certain activities, thus causing the pain. But, as said, this is pure speculation. He should see a doctor.