This refers to faith in Christ. This can be made explicit. Alternate translation: "because of your faith in Christ" (See: [[rc://en/ta/man/translate/figs-explicit]])
The word "affliction" explains why they are in "distress." Alternate translation: "in all our distress caused by our afflictions" (See: [[rc://en/ta/man/translate/figs-doublet]])