They're tuned to increase engagement. They figure out based on inputs what does that. There's no morality, no value judgement, etc. They try to increase engagement.
Why toxic (which is subjective) appeals to so many humans is really the question here. The algorythms has no say in that.
Why toxic (which is subjective) appeals to so many humans is really the question here. The algorythms has no say in that.