Seams come unattached for a variety of of reasons...the good news is that generally this is a straightforward repair. Stitched seams come unstitched due to abrasion, or fatigue of thread. When re-stitching a sleeping bag we use polyester thread of equal quality and colour.