Everytime you switch the focus of your attention from one subject to another you incur the Cognitive switching penalty. In order to take action, the brain has to load the context of what you are doing into working memory and if you constantly switch the focus of your attention, you are forcing your brain to spend time and effort trashing, loading and reloading contexts over and over again
That's why it is possible to spend an entire day getting nothing done
The cognitive switching penalty is a friction cost, the less you switch the lower the cost
T o avoid this, batching strategy is required.
Instead of attempting to juggle both responsibilities at the same time, i batch them together, dedicate time blocks to accomplishing those tasks.