Why should the environmental factors that culminate into the person you are judging matter? Well, I theorize that it is helpful to consider these known or unknown factors when you upgrade your compassion-lenses. You don’t know what that person has gone through or is going through. You might build a little reality around it to support your emotions and stories. Often lacking love and compassion.
Instead, see them for their programming and unique reality finger-print. See it as a guise for their essence, true self, the state prior to conditioning and programming. For this pure-person, have compassion and potentially love. It is the causal factors of lived experience that has warped and jaded them. Clouded their underlying essence from your view.
This is how compassion can pervade. This is how you can forgive others for not knowing what they do.