Do spine extension problems cause back pain?

See below. Not sure i understand this question some people have more back pain when they bend forward, this is usually seen in people with disc problems. Other people have more pain when they bend backward which suggests problems with the back joints (facet joints) or can be a sign of spinal stenosis which is a condition that typically occurs in older adults.