Joint pain can be caused by injury (including repetitive stress injuries); bacterial, viral, or fungal infections; or autoimmune disease.