This website contains age-restricted materials including nudity and explicit depictions of sexual activity.
By entering, you affirm that you are at least 18 years of age or the age of majority in the jurisdiction you are accessing the website from and you consent to viewing sexually explicit content.
This is called capturing consumer surplus through segmentation. There’s a pretty good explanation of it here.
The long and short of it is that some people are just perfectly fine spending more money on a macbook, and apple wants to give them a good enough excuse to do so.