Hello, thanks for the query to H.C.M.
Pain subside when drink something.
When stomach empty there is secretion of gastric juice in it.
This gastric juice contains HCL ( Hydrochloric acid ) , this is helpful indigestion
of food which we eat.
In your case excess amount of gastric juice secreting hence when any liquid or food reaches in this area pain subsides.
When this ( stomach ) become empty pain again starts.
Now consult a physician and get in fast test meal test which will reveal the situation.
Good luck .