What's it called · UX principles & accessibility 53

Bait and switch

A deceptive design technique that lures users with an expected outcome and substitutes an unwanted one for the provider’s benefit.

Press ×, then select Expected and press × again to compare installation with dismissal.