The cost spikes for the government programs that protected the elderly and the poor were even worse. Better medical care kept people alive longer, and that meant Medicare had to pay for more complicated and more expensive treatment during those prolonged lives.