Here are some ...
There has been no known suspected genetic factors for recurrent orchitis
Since a standing-alone orchitis is not common, I would need to know how you have carried the Dx of recurrent orchitis. Based on clinical recurrent scrotal pain or US finding alone or both? So, differentiating what might led to this Dx is needed by analyzing detailed Hx + physicals + tests as needed. So, seek pro-evaluation.