Lots of reasons. One of them is that other countries negotiate deals country wide and can get bulk discounts. The US does this with the VA and Medicare, and people using those services generally pay less than the rest of Americans. In the end, it is largely a policy choice, as having a single payer could get better negotiated deals on drugs.
https://www.healthsystemtracker.org/brief/how-medicare-negot...