Astrophysical interpretation of the anisotropies in the unresolved gamma-ray background