The cost is in the patented injector, the drug itself is cheap. Others have tried to market similar injectors, which didn't work as well as the Epipen.
As cost slowly rose, insurance paid for it, and parents didn't notice it as it was hidden in rising insurance premiums. Then deductibles skyrocketed, and suddenly insurance wasn't covering it all; parents had to pay the balance, or all of it.
If you didn't have insurance, you already watched it go up as it happened.
Finally the cost was raised arbitrarily, to cover the company's coming losses as their patent on the delivery system will expire. This, I've read recently, is common: a spike in price before generics take over.
The traffic bears this price, because parents don't want their kids to die from accidental exposure to peanuts and other allergens.
The price was raised so the CEO could escape the rigors of just scraping by on $2.5M. The board wasn't going to give her a raise without a boost in profits. That's easy to accomplish when you control 90% of the market. That is the only reason. Not production costs. Not future losses.
I bet their cheaper "generic" packaged version will see limited production to force supply shortages and drive people back to the overpriced pens.