It's the norm to check and treat for ulcers prior to managing the behaviour with surgery.

The association is very well known. What remains unknown is whether cribbing causes stomach issues or whether the presence of stomach issues is an impetus for cribbing.