All pills can do that? I thought many were designed to dissolve in your stomach like tums. Not sure why they should be exceptionally bad, unless tums cause issues too.
A pill, after all, is just a transport mechanism. It's the substance of the pill that determines side effects and risk. For example, you don't often hear about multivitamins causing stomach bleeding.