Kidney stones and digestive issues

Trying to figure out why I have a kidney stone but most people around me who drink less water and eat more sodium don't (or likely don't) have any stones, and my urologist today mentionned a link with IBS/Crohn's disease. Any of you familiar with digestive issues increasing the risk of kidney stones?

I've been constipated/had GERD basically all my life, so this could be a factor.