The likely culprit is the soil it's planted in. A good soil provides the roots both with ample water and with air. If it's too wet or too dry, or if it's too fine and compacted, the roots will suffer. In the ground, a tree can grow its roots toward the resources it needs. In a pot, we have to provide the right balance of water and air right where the tree is growing. Also, it's counterintuitive, but the more shallow the pot you are using, the worse it will drain excess water, so a more granular soil is needed to maximize the available air. That's why nursery pots are taller than they are wide, it offers more room for error. Proper drainage is paramount.