It is not that consideration of which PhD program the applicant studied at implies consideration of which undergraduate school the applicant studied at, but that it carries an implicit consideration of *how well the applicant did as an undergraduate/i, since that affects which PhD program was willing to admit the applicant.
Obviously, this is not to say that recent achievements during and after PhD study are not highly important, since they obviously are for faculty hiring.