These are two different images of the lower esophagus. Image 1 shows a tear in the wall of the esophagus. This tear can be caused by violent vomiting, swallowing large chunks of food, inadvertently ingesting a sharp object, or on occasion by the physician when an instrument is passed into the esophagus.
The lining of the esophagus has been injured and separated leaving a rather nasty looking bloody base. The second image is what it looks like after several days. Now the injury is filling in with whitish exudate. It will, in a short time, completely fill leaving no residual problem.