It might also explain why both anxiety and depression are more common among patients with IBD compared with the general population.