What is the difference between sample generalizability and cross-population generalizability?

What is the difference between sample generalizability and cross-population generalizability? Why the information in a sample may not generalize to a larger population.