I beg your pardon. A man's voice beside her made her start and turn.
She was startled by the man and turned when he said I beg your pardon.
She was expecting the man next to her to speak and wasn't surprised when he did.