Why do some countries drive on the right and some on the left?

You’re probably right there. Well substitute with fists, cudgels, lumps of whatever. On the other hand, I’d say the travellers were more likely to have money than those who never ventured beyond their village…

More plausible to me is that passing on a particular side was arbitrarily decreed on occasion by local authorities, perhaps if they were operating a busy customs point, and from there became common practice. In Britain, that happened to mean passing on the left. No swords or swashbuckling required.

Anything other than trained swordsmanship, and you’ve probably not got any left-right advantage, especially if you don’t know what your opponent has.

And yes, most people stayed put, but hardship as well as affluence would cause people to travel - failed harvests, plagues and illness, war & conflict, etc. All could cause people to leave their homes and hit the road.

After Napoleon had conquered the continent of Europe he decided to standardise the law in the lands under his rule by implementing the “Napoleonic code”,he decreed that all traffic would use the right hand side of the road to facilitate military convoys .
I believe it was something to do with making things easier for wagon drivers but I’m not sure .

In Britain using the left hand side of the road was implemented to allow horse riders to draw their swords easily if attacked by the numerous highwaymen/womenaround at that time,also "road rage "was quite common in those days and fights between impatient travellers was a regular occurrence, though I wouldn’t be surprised if it was partially based on a desire to “cock a snook” at the French.(Before you ask its similar to “giving someone the finger”)