Watching people and places from a passing train clearly isn't all a one way street.
At a guess, this is a mother-daughter combination, with the daughter's attention having been caught by the passing train and the guy with the camera in the open window.