It's not gastritis.
The superficial gastritis was something this patient died with, rather than something he died of. There are several causes of gastritis, both acute and chronic, but none would lead to a presentation such as the one described here. In fact, gastritis with haemorrhage is a common finding at postmortem and is probably an agonal (i.e. just before death) event.