It's an repetitive restrain injury that you're probably getting. I know if i'm typing quite a lot my hands tend to stiffen up after a while. Taking a break doing something else I find helps. I used to find sometimes just having a hot drink and holding the hot cup will help. Try playing with Playdo or lego, doing something else and it might help lol!