That's no different from being in an office though.
If someone taps me on the shoulder and says they need a few minutes of my time looking over problematic code or whatever, I can say "sure just give me about 15 minutes to finish off this X/Y/Z"
When someone is relegated to doing this over Slack/Teams/whatever, the other person might have their notifications muted and rarely check for new ones. So it could end up being several hours of waiting.
Just because someone checks in with you IRL and asks if you have time to help with a question doesn't mean you need to be interrupted from "flow".