The hydrochloric acid doesn't damage the stomach because the stomach has a protective lining on the inside walls to prevent damage. The stomach also releases a mixture of fluids that neutralize the hydrochloric acid.
If you do it correctly or how much you do it. hope this helps
Kano Jigoro Shihan created it in 1882