What best distinguishes «التي هو في بيتها» from «الذي كان معنا أمس» in these examples?

Defining the Subject by a Relative Pronoun: Purposes and Rhetorical Applications