How does the sentence end?

Ryan revealed the photo of the spouse cheating to Randy because
Randy was curious about the situation.