Yeah, AFAIK there’s never been an explicit explanation of why some ghouls turn feral and others don’t. We’ve seen several examples of ghouls in the same environment with mixed feral/non-feral in the games; the two that spring to mind are the ones on the Chinese sub in FO4 and in Vault 79 in Fallout 76.