Yes, this is a classic story for TMS. When the pain comes and goes like that, it is obviously TMS and nothing else. This is easy to diagnose.
Now you have to know for 100% that there is nothing wrong with your wrists and get back to using them normally without fear. You can do it!!