You may have two completely separate problems going on here. Or you may be having some wrist instability from the carpal tunnel release (CTR). Most of the bones in the wrist are held together by ligaments and fibrous connective tissue. When the band of tissue across the wrist is cut for a CTR, it can cause instability.
As it’s been three months since your surgery, it might be a good idea to make a follow-up appointment with the surgeon. It could be just a postural problem in the way you hold and use your wrist. Or you may just need a strengthening program for your wrist. Early intervention is always advised for the best results.