The woman tripped on the curb while looking at the man.
“while” shows that it is the woman who did it, and that she did two actions.
Without this word, “curb looking at the man” could be misinterpreted. The curb could not possibly look at the man as it is not a living being and does not have eyes.