Not so long ago , the main explanation for colic was intestinal distress like gas or cramps , said Dr. Ronald G. Barr , a pediatrician and leading authority on colic at the University of British Columbia in Vancouver .