Sometimes when you sew ends in, they can become unravelled. This is because very often we just sew a couple of stitches on top of one another around a stitch.
What I like to do is to instead of sewing in around a stitch, I like to split the stitch so that the end of yarn fibres will work into the stich fibres to hold it more securely.