Crying when farting

Is

This sounds ridiculous, but every time since he was born (now five months old) he's started to cry when he's farting. I can't tell if it hurts or just shocks him or what it is. I always forget to bring it up with his pediatrician. Does it happen to anyone else's baby?