Context switching is taxing. It lowers your future cognitive load.

The more often you get distracted, the longer it takes to get back into the flow state.