As we grow older, time spent on devices often replaces time spent engaging in physical activity or socially with other people, and it can even become a substitute for emotional regulation, which is detrimental to physical, social, and emotional development.
It's too easy to find people you strongly agree or disagree with online, I think it is a huge relief to just switch to another activity and use a better way to relieve stress like a long walk, going to the gym, etc. Sometimes my mind will wander back to thinking about planning what to write on a paper, and I can sketch a mental outline instead of struggling to do that at my computer.