Wearing on public transport: meh, the chances I chat with a total stranger is quite small.

Wearing on walks around my neighborhood: yes, totally see how this nudges away from spontaneous chats with neighbors / acquaintances as we pass each other and wave, but don't stop perhaps due to the friction of removing airpods and sense we may be interrupting each other.

Sometimes if I see a neighbor I know up ahead, I will preemptively remove my airpods to open the possibility of a chat. Most of the time just a hello, but sometimes a nice catch up. With the airpods, very unlikely to chat.

Really I see it as the exact opposite. A walk around the neighborhood is highly unlikely to strike up random conversation with a stranger. Might run into a friend or someone friendly but they are likely going to approach with or without airpods