If enabled, portal users in the same customer or partner portal account can see each other, regardless of the organization-wide defaults.
Salesforce Experience Cloud site users can see other Experience Cloud site users in the same account and the same site
Reference Article:
https://help.salesforce.com/s/articleView?id=sf.networks_user_sharing.htm&type=5