Earlier in this episode, Miles showed himself to be a brilliant little boy to use evidence and logic to deduce where the dog was from and also come up with a way to not get lost.
And now here we have Phoenix deducing that Miles would come back here from the evidence and because he knows and cares about Miles that he understands him so well.
This episode shows firsthand how well these two just WORK TOGETHER and just MAKE EACH OTHER BETTER when they do.
And look at Miles’ face there. I think we all know that Phoenix began to fall in love with Miles the exact moment of the class trial. But this. I think this might be the first moment that Miles starts to fall in love BACK.