The exact cause of testicular cancer is not well understood, but it typically begins with the formation of abnormal cells in the testicles. Risk factors may include genetic predisposition, undescended testicles, and certain medical conditions.