Dear student,
People belch after overeating because due to rapid eating some amount of air enters into the stomach unknowingly which creates discomfort and some amount of air is already present in the stomach, when rapid eating occurs then air in the stomach gets trapped which creates discomfort. Stomach relieves this discomfort by belching.
Regards