This is the system we've created and the system we're (so far) not willing to change.
When we have a for-profit healthcare system, what else would anyone expect? Those who make the drugs or have a controlling patent on the drugs are going to excise the maximum profit they can.
We have the perfect storm of laws and policies to allow drug makers to charge the sky's the limit for their drugs. When our laws don't allow any governmental price negotiations, and no regulations to cap prices, and an insurance industry that will in many cases pay most of it, there is nothing stopping drug companies from charging $1000 a pill, or $5000 a pill, or $10,000 a pill if they think they can get away with it.
And the saddest thing is, you have many people who are not rich, working blue collar jobs, but support the supposed "free market" economy that allows this. They put a libertarian ideology ahead of their own economic interests. If it costs them their life savings to pay for cancer drugs, they will still argue against so called "socialized medicine" because it's the "American way".