Unmeasured variables that lead to homophily and also affect the outcome are thus indirect common causes.
The exclusion restriction in a peer effects analysis requires that the IV is uncorrelated with unmeasured common causes of the outcome and unmeasured sources of homophily that affect the outcome.