Unless social distancing in practice is not uniformly effective, and a large number of people both stay indoors to social distance, and are still quite likely to catch COVID because they are indoors with people who don't socially distance.
Plus being indoors means a confined space with less airflow, less air volume, and almost no upper range UV sunlight compared to being outdoors; these all are significant factors for likelihood of covid spreading.