If someone gets a reward—whether it’s positive social regard or a piece of candy—whenever they do a particular thing, then they’ll tend to do more of that thing. When people get a flattering response in exchange for posting something on social media, they get in the habit of posting more.