CDC recommends wearing cloth face coverings in public settings where other social distancing measures are difficult to maintain (e.g., grocery stores and pharmacies) especially in areas of significant community-based transmission.
It sounds like it's recommended because a significant portion of people with coronavirus are asymptomatic or pre-symptomatic, and the virus can spread through speaking, coughing or sneezing.