When lying or betrayal is observed, that conduct can be identified as wrong and corrected. It does not necessarily establish that the person’s heart contains no faith.
The outward is what may be observed or reliably reported; the inward is fully known to Allah. Preserving the distinction neither conceals wrongdoing nor permits an unsupported verdict upon someone’s faith.