I recall a seminar given a few years back by an astronomy PhD graduate who was talking about career prospects outside of academia, and naturally all of them were 'data science' related. The speaker's first remark was something like 'I don't mean to say that data science is just marketing, but...' and then proceed to describe their career as a person 'with statistics and scripting experience'... working in marketing.
In journalism, it is said that you can always find employment if you join the dark side, which is public relations. I think less people fool theirself in thinking that PR serves the public interest.
We can speculate about why we are hemorrhaging scientists to marketeers, but for the self-interested individual, it's rational. I've always thought that teachers and scientists do not have as high status as they should for the contributions that they provide to society, but perhaps we shouldn't want to attract people to those fields who are in it for the riches and glory.[†]
[†] (of course, it's more nuanced than this)