Why they do it? Easy. You are not the customer, the advertiser is. So as long as it is tolerable for a sufficient % of the audience, it is worth it.
Case in point, circumventing ad blockers. Audience explicitly doesn't want the ad experience, but Facebook wants to make more $. Facebook just announced a record quarter on desktop advertising fueled by successfully circumventing ad blockers.