What causes the fatty part of your palm trigjt below your thumb and before your wrist to swell and hurt. Pain is from thumb down to wrist?

Thumb pain. This could be overuse of ligament or arthritis of the thumb "joint". What you are briefly describing though sounds more like inflammation due to overuse. Try resting it and avoiding overuse with typing, texting etc.