I think the ad-tech industry has tapped into what can only be called -- and no offense to anyone here -- "virtue signalling." There's no doubt studies done on this, hence the new "controversial" sort of nature of some of the advertising. Who knew that Gillette and Nike were so interested in social issues, and not a bottom line PNL result. In the same way, perhaps, Amazon marketing teams found some research to suggest that same "heart-string tugging" mechanism can be combined as a "sweetener" to get you to do things you otherwise wouldn't do -- like subscribe to "buy this too" notifications.
It is not a very conspicuous signal. I don't know which one of my friends use Amazon Smile. I don't think the dark pattern would work well if Amazon Smile was only social signalling. Seems to me it relies much more upon the fact that actual money is given to charities. Pretty gross of Amazon to add unrelated self serving conditions to such giving.
what you’re pointing out is corporate social responsibility (CSR), which emerged decades ago. it’s an extension of branding, which advertising, among other marketing tools, supports.
virtue signalling is on the consumer side, where consumption of the brand has the (positive) side effect of showing how with it and magnanimous you are.
in any case, i also don’t see how it applies here (as sibling commenter points out).
the prius is a prime example of virtue signalling used in marketing classes: honda was puzzled at why its civic hybrid wasn't selling while the prius sold like hotcakes, until it realized that the prius, with it's unique body styling, signalled virtuous environmentalism, while the civic hybrid, with it's standard civic styling, had no (additional) virtue signal.