The fact that you reduce the risks to "colds" is telling. The list of viruses that daycare workers face is wider:
RSV. Kids under 2 are most susceptible. ...
Roseola. Good news: It's usually over by age 2, and always by kindergarten. ...
Gastroenteritis. It's a lot worse than a tummy ache. ...
Hand-Foot-Mouth Disease. ...
Strep Throat. ...
Influenza. ...
Pinkeye.
Just to name a few. As for the cancer part, flight attendants and nurses also face higher risk of cancer. Yet, it doesn't translate to pay.
https://www.fiercehealthcare.com/healthcare/study-nurses-night-shifts-may-be-at-greater-risk-for-cancer#:~:text=Nurses%20who%20worked%20frequent%20night,the%20night%20shift%2C%20researchers%20found.
As your comment about "just colds" shows, the risks women face at their works are usually minimized or not considered at all.
And CEOs, who face no risk at all are the people who makes more money. So I think it is clear that wages aren't based on risk or difficulty, but on things like how society value the people doing that work. Society valuing women's time and work less is part of the reason those jobs are less valued. It is telling that even during a pandemic that is killing people, nurses aren't getting raises.