AS is a type of arthritis that causes inflammation and pain in your spine. While osteoporosis may also affect your spine, it’s a degenerative bone disease that causes a loss of bone mass and strength. Osteoporosis can also lead to bone fractures.