It does pretty much just what it says on the tin - it sets the owner and group of a thing to the same as the parent dir. I don’t know why that results in a different set of permissions. My suspicion is that the system actually uses ACLs or something under the hood.