US-based pharmaceutical companies maximise their margins in the US to make up for smaller margins in other markets. In many other countries, most prescription drugs are purchased by the government, which gives the government a lot of bargaining power which it uses to drive margins down. Prescription drug purchasing is much more disjointed in the US (negotiating with many private insurers instead of just the government), giving more bargaining power to the vendors and supporting higher margins.