Is there a reason for an allergist to view genitals?

I’ve wondered about this off and on over the years. 30 years ago when I was a teen my parents took me to an allergist. After the skin tests, we were discussing my case with him in his office and he said he just needed to make sure I was developing normally. I’m pretty sure that was more or less verbatim what he said. He had me stand up with my back to my parents, told me to unbutton the top of my jeans and pull the band of my underwear out so he could take a look. It took about half a second to determine that yes, indeed, I was developing normally. I sat down, we concluded the session and left. To emphasize - parents present, he never touched me in anyway, and it was very rapid.

Anyway, what I’m wondering is if there really was a reason why this was relevant, and if so, what was it. If it turns out there was no medical reason for him to have done so, well, it’s no big deal and we can keep the discussion to a factual answer to my question. The doctor is not longer practicing so there’s no reason to pursue it.

I googled “allergies and genital development” but didn’t find anything elucidating.

He sounds like he was thorough.

There are certainly a number of allergic and immunologic conditions associated with hypogonadism. And many allergic conditions manifest rather prominently in the groin.

One of the basic principles of medical training (all too neglected these days) is that in initial encounters, it’s very important to examine all possibly relevant parts of the patient. That way when one documents “Skin: normal”, one knows all the skin was inspected.