It's just basic economics. Supply and demand. There are only two options: raise the price so that producing the drug makes sense, or stop producing the drug altogether. For people who need the drug, the first option is obviously preferable.
This isn't a problem in a competitive market they would never get away with this sort of stuff but our laws and our healthcare system have created a perfect environment for exploiting.
Can't blame people like Martin for doing it but we can blame politicians for not doing something about it.