I think the important thing to remember is a transformer is a separately derived source and does not have a ground reference at all until you establish one. That is not a fault. From them on any other contact with ground will be a ground fault. If the neutral faults to ground, it takes ground fault protection or inspection to detect it but an ungrounded conductor faults you operate an OC device, usually with some fireworks.