If someone came close to an accident is it proper to check on the emotional well being of people?

Ok so it was at night and there were some people crossing the street and my girlfriend didn’t see them and had to swerve up on the sidewalk to avoid them. My first instinct was to check on them to make sure they were ok like they could have been really rattled but she got upset because my first instinct wasn’t to make her feel ok. Was I in the wrong

If someone came close to an accident is it proper to check on the emotional well being of people?
Post Opinion