How and when did people become so scared of the environment?

For example, this insidious over concern about sunblock, UV rays, etc.

Even a more weird concept; “melanin protection”;