Why Was I Programmed to Feel Pain?

Why Was I Programmed to Feel Pain?