Have you tried ballet? Has your wife tried programming? Seems this is all just speculation if I were a betting man.
This mindset you have is called a fixed mindset.
https://online.hbs.edu/blog/post/growth-mindset-vs-fixed-min...
I could teach anyone programming including your wife. The mechanics of it are easy. The hard part is building things that matter.