The engineers behind social media had specifically designed their platforms to be addictive. The brain fires off tiny bursts of dopamine as a user posts a message and it receives reactions from others, trapping the brain in a cycle of posts, “likes,” retweets, and “shares.”