Your pains are due to acidity followed by acute gastritis
. Lobsters are extremely acidic in nature. It contains high level of purine that causes acidity. If you eat it with extra spice, it will increase your acidity by many folds. So either avoid it completely or eat it with minimum spice. Also don't eat it at night, since no physical activities after dinner may worsen the problem.