The exact cause of axSpA isn’t known. It’s thought that people with certain genes, like HLA-B27, may develop axSpA when exposed to a trigger like a virus or bacteria. However, not everyone with the gene gets axSpA, so there’s still some mystery about why it happens.