how to know that a pronoun is ambiguous?

I’m not sure how to do so. Some sentences have more than one antecedent suitable for a pronoun but it can be ambiguous or unambiguous, not sure why. Can someone please clarify?

bump