Its always been about maintaining the brand. They are not the only ones to do this by any stretch. Ferrari is just one of the more accessible brands that does it. For entry level models, this is not the case but for the F8 and up models, there is a requirement to have owned a Ferrari or have a great relationship with a dealer (or significant clout). Regarding their premium models and V12s (SF90, 812) and limited editions (Daytona, Monza, Pista, Competizione) you need to have owned several Ferraris to even get on the list.
This keeps the value of the brand high. All the prestige remains intact when the keep a short leash on ownership. McLaren been more accessible doesn't help its resale value. They dont care how you modify their cars and thats great but the modifications has exposed some glaring issues with McLarens to a point that it as "known issues" that hurts the brand because of how often people modify them and unto specific problems. They dont have the resale value nor do they appreciate at the rate a Ferrari does.
To a lesser degree, think about how people in the car community associate bad drivers with Mustangs and Hellcats. The perception precedes the car and does a disservice to the brand. Ferrari does not allow that. Just like Jordan wasn't in any basketball video games for 30yrs until recently, Ferrari did the same. They dont like their cars in games, in videos, on YouTube, or anywhere that they themselves haven't chose it to be. I dont consider that being a$$holes but they def are sticklers to say the least. You can always buy a Lambo or McLaren (will still need to get on a list for the higher models) but not have to worry about the stipulations.