I have naturally curly hair, which isn't unruly, it's just very curly. People with straight hair often seem to think that my hair could be 'neater' if I 'did something' with it. Case-in-point: One time the new head of the board was coming in, and HR specifically asked me to comb my hair. I told HR that was a terrible idea, yet they insisted.
So I come to work the next day with combed hair, and I look like the main character of Eraserhead[1]. My hair is a giant poofy frizzy mess. HR comes by, sees what my hair looks like, and freaks the hell out. They kept asking me to comb it better, or do whatever I could to fix it.
They were not amused when I told them that the only thing I could do to fix it was to take a shower and let it settle naturally. So I met the new director of our board with hair that looked like I stuck my hand in a electrical outlet, all because HR felt that curly hair on a guy wasn't normative enough or something.
[1]https://en.wikipedia.org/wiki/Eraserhead#/media/File:Eraserh...
Not to mention that there isn't actually that much difference between my hair and "ethnic hair." The hair product I use is actually in the "ethnic hair" section of the hair aisle, which just goes to show how stupid the actual classification is. I'm probably as far from "ethnic" as you could imagine. I'm not even Jewish, or some other white ethnicity known for having curly hair.
My only guess was that HR associated curly hair with "skate culture" or something, and thought that the appropriate way for a white person to style such hair was to slick it back like an 80's power broker.
The entire HR situation at that company was a mess though, and I'm really glad I no longer work there.
No idea how that's diagnosed, but presumably HR would back off if you had an actual doctor's note.
It's not at all unkempt though. It's a pain to take care of, but as long as I keep it up people seem to generally find it attractive/stylish.
That HR department really just hated everything that they couldn't control.
[1] Specifically, I have type IIB hair, as shown on the chart on this page: https://www.curls.biz/curly-hair-type-guide.html
In fact, I think the structure of that joke ("I'm doing what you said, too hard") is a better one than the structure of the joke you imply, though the joke loses something in the current environment of general unfamiliarity with morning dress...