Maybe max was traveling somewhere and crossed paths with the doctor, thinking she was a local. After facing some sort of enemy that is either extra-terrestrial or superhuman, the two could travel together. Maybe he could find her recently after her regeneration, and the two narrowly escape death for the first time together?