Why switching attention from one thing to another wrecks your productivity

I’ve been experimenting with this. Streaming documentaries on Youtube in the background while I’m working on terminally boring SEO stuff. It sort of works for me.

Piping music into headphones like I did when I was a kid seems to majorly impair my thinking, but background noise from across the room is mostly ok.