Hi, Lorcan:
Yes, it is AS but You have posed a chicken-and-egg situation where an egg-and-chicken would explain it just fine.
AS does not cause IBS/colitis.
AS is caused by IBS/colitis, so they are intimately linked.
Most people with AS will never notice their bowel involvement; the increased permeability is difficult to recognize as is their incipient/early IBS.
bon appetit,
John