1) People often don't use masks properly. They often touch their masks and their faces. The initial thinking was that the virus spread largely through touching contaminated surfaces.
2) Mask mandates are difficult (as we are seeing now) and significant portions of the population refusing to use masks undercuts their efficacy.
3) There was a shortage of PPE when the pandemic started. The CDC and NHS didn't want to find themselves in a situation where hospitals had a hard time procuring masks because scared citizens hoarded the supply.
The anti-science issue in the US appears to have a few prongs to it. There has been a growing distrust of science for quite some time with the anti-vax and flat earth movements. I'm not sure what caused it, but it sadly appears to be a growing trend. Also, as we are seeing with the Coronavirus response, a lot of people seem to misunderstand that scientific consensus can change as new data is collected.