The cause of ankylosing spondylitis is not known. But many health care providers believe that certain genes can cause the disease.