Joseph R. Biden Jr. promoted social distancing and plexiglass dividers, while President Trump said such measures had turned New York City into a “ghost town.”