Pharmaceuticals have been in crisis for a few years now. Certainly I can remember warnings going back to the 1990s.
TL;DR is that all the "good stuff" has been discovered or invented and as a result the law of diminishing returns means it's getting more expensive to license fewer drugs. (Remember modern medicine, like education, isn't about outcomes. It's about selling shit).
This means there is a scramble to try and squeeze the last cent out of everything (a la Mickey Mouse).
Hence the push to look for profitable side-effects that can be marketed as a new treatment (with the associated resetting of the patent).
Obviously a great part of the costs are regulatory.