When your hamstrings are relaxed it allows your pelvis to tilt forward. The lumbar spine will then couple this movement in the direction of the extension which takes the strain off the ligaments and disks.
Therapeutic Yoga has a high focus on lower back health and stretching of the hamstrings.