Ankylosing spondylitis can cause kyphosis in the upper back, a condition commonly called "hunchback."