I don’t think they can, because there’s that urban myth about putting baking powder on bread before feeding it to pigeons making them explode because they can’t fart.
I’m going to choose to assume that the kernel of truth in there is that they can’t fart and it causes them discomfort.