I’ve only seen that a couple times, but yeah, the fact that NPCs can be off doing their own thing – the engine is a pretty open sandbox – can mean that they’re talking during a cutscene, and the way Starfield works, whichever character started talking first gets priority for the caption – the other caption only comes up after the first one finishes.
I kind of wish that they’d just stack the captions onscreen.