People who have chemotherapy and lose all their hair often find that their hair grows back differently (texture, elasticity) than it was before. Hair dye isn’t going to do that, but chemicals absolutely can alter your scalp and the follicle permanently.
Having said that, over the counter stuff absolutely affects the the health of your hair and dying too frequently, leaving dye on too long, using a poor quality of dye (of which over the counter almost always is), too much peroxide (which is often needed so the color can stick) can absolutely damage the hair on your head permanently (until that hair is cut off and regrows). The only way to truly recover from the damage due to hair dye is to cut it all off and regrow, which for people with long hair, can take a tremendous amount of time.
https://www.consumerreports.org/lead/removing-lead-acetate-f...
This is why you should, if possible not dye your hair up to the roots. But the more the difference between dye color and natural color the more this is noticable. Furthermore even if your don't dye up to the roots it's still possible for damage to affect them.
a) a racial subtext, through maybe unintended
b) damages your hair, potentially permanent
c) tells you you are less good because you don't have natural black hair