Points of articulation are just plain prone to paint wear. If you can, pull it apart and paint the pieces separately, seal really well with dullcoat, and give it a couple days to make certain it's fully cured before reassembling. Even then, it'll still rub quite easily if you move it frequently.
It may help to tell us what kind of material the doll you're painting is made of?