It's very confusing topic. I rendered this visual map to show how SRY gene is the 'trigger' for development, not just having the Y chromosome. It helps see the signaling steps where things like AIS or XX syndrome happen: https://vectree.io/c/y-chromosome-genomic-signaling