A couple of suggestions:
- If, as you say, it is really distracting you, then it seems fair to talk to your manager about it. Part of a manager's job is to help facilitate communication between teammates and to make sure work isn't being held up
- Mention it causually to them the next time it happens: "Hey, I appreciate the small talk and conversation, but having it every time one of us needs clarification or has a question about something is distracting me a lot. Could we skip it most of the time so we stay on topic?" One of my former managers approached MS Teams etiquette this way when he needed me to stop liking his posts as a response instead of sending a brief message.
- If all else fails and, as you say, it is really distracting you, then it seems fair to talk to your manager about it. Part of a manager's job is to help facilitate communication between teammates and to make sure work isn't being held up.