Hi.
There are various reasons for the pain, it could be due to trauma, an unoticed fracture of scaphoid, or tenosynovitis of tendon sheath.
Pls get yourself checked and get some xrays or additional tests.
Health Tips
you can wear a thumb spica brace available in market meantime and get it checked with a hand surgeon or paediatric ortho surgeon.