Ankylosing spondylitis is an inflammatory disease that, over time, can cause certain bones in the spine to fuse together. This fusion makes the spine less flexible and can lead to a hunched posture. When the ribs are affected, it may be difficult to breathe deeply.