if you have big hands and you're using a small-ish mouse a lot and your hands/wrist hurts, i really recommend getting a bigger mouse. it has seriously made a big difference for me
I just purhcased a (large) vertical mouse and it has immediately Changed Everything and I can never go back. Wrist pain ABOLISHED.
I also just got a vertical mouse, and part of why they're better is that your arm doesn't have to do this ^
Basically, when your hand is palm-down, your radius and ulna bones cross over each other. This isn't inherently bad, but it's not a position our ancestors had to hold for long periods of time to survive, so we're not really optimized for it. There are lots of long, narrow muscles attached along these bones that also attach to bones in your hand, and this position sort of just tugs them all tighter as they wrap around your arm, which may squish your median nerve at your wrist, especially if your muscles are inflamed from repetitive wrist and hand motions. So that's carpal tunnel syndrome! And I could definitely see how a too-small mouse could require your arm to twist more than a properly sized mouse.
I personally have issues with a different nerve - I have cubital tunnel syndrome, where my ulnar nerve gets pinched in the inside of my elbow (doing autistic t-rex arms throughout my entire life is catching up to me, lol). I'm hoping the position the vertical mouse puts my arm in, with a straighter elbow angle and being able to relax my arm more, will help in the long run.