Only disposable paper surgical masks (actually disposed of after single use!) worked (if the definition of worked was "reduced the transmission of at least droplets when coughing"), or real masks like KN95 or N95 certainly worked.
Those cloth masks that were reused every day did far more harm then good, especially if they were not washed. They did nothing against the pressure race of a cough, and most transmissibility was via aerosol anyway, not droplets.
The politics simply distorted the science, like when we saw Executive staff wearing logoed blue cloth masks more as a fashion statement than any real science, while subjecting the wearer to reduced air flow, exacerbating things like asthma or cardiac issues, and trapping some virus and random bacteria in a cess pool of saliva in a cloth mask that got saturated within minutes.
It's a real shame that people who knew better didn't say, "these masks work and these other masks are worse than no mask at all."
Politics took over and both sides were trapped by the nuance, and the result is a stain on the history of science and public health.