Sorry, I confused myself and thought you were replying to a later comment - I thought you were asking how people would have guessed JK Rowling and JK Galbraith were the same person.
I think it’s fair to say Robert Galbraith-Heath is an (in)famous psychiatrist. I remember his name from my student days. As for her purposely using the name of a conversion therapist as a pen name in order to… be more homophobic? That seems like a bit of a leap to me, but idk her bigoted views in any real depth tbh.
And I looked up the other name before I realised I’d confused myself and found there was a famous JK Galbraith too, according to wikipedia He sounds like a bit of a dick too. Sorry for the confusion, I need sleep.
It’s a Christmas miracle! 😉