I think u are suffering from
aerophagia.
The pain is because of increased air going into the stomach which causes pressure build up and vague irritating pain in the lower chest.
Once there is
belching or flatus passed u feel relieved, in your case probably belching