In your opinion, avoiding things that cause discomfort comes from where?

Do you think the path of least resistance in human behaviour is socially conditioned or hardwired?