With porn, it is the brain making a cost benefit calculation that putting in the effort for the real thing is not worth the cost relative to cost/benefit ratio of porn.
As in do I make all the effort to get my wife in the mood, or do I open a website and be done with it. Or do I control my diet and exercise, or do I open a website and be done with it.