Simple explanation: patents and the FDA represent barriers to entry for new competitors. Costs going up just means more money spent within the industry, and more profit to be taken later. Costs (and profits) going up are a consequence of patents and regulation, not the other way around. Remove patents and regulation and watch costs plummet.