Infection of the testicular ducts, twisting of the testicle, testicular cancer, or a duct cyst of the testicular tubes can all cause testicular pain.