It does sound like heartburn. Is it worse when he lays down? Does he wake frequently at night? If not, maybe something has irritated his esophagus and it hurts when the food goes down. Has he swallowed a large lump of something recently, like a whole vitamin?