ChatGPT actually has the right of it in the initial answer now that I fully think on it tbh. There's any number of reasons that a given town might be overrepresented in number of boys vs girls over the general population. You'