A mental health expert explains the science behind the viral social media trend that works in seconds.