My personal experience is that small dogs tend to be absolute monsters far more often than big dogs. That's not because they're less trainable but more just because they're small enough that many bad behaviors are ignorable so bad owners don't bother to correct them. A lot of the people I know who have small dogs couldn't train a dog to save their life so they got a dog small enough that they could just call the bad behaviors cute rather than actually doing something about them. If a big dog gets agressive towards every other dog they meet, you kind of have to fix that issue very quickly or completely stop taking them on walks in public. But with small dogs, a lot of people seem perfectly content to let them be agressive towards every other dog they meet and rely on the physically larger dogs being well trained enough to not retaliate.
Of course none of that is to say that you're one of those bad owners. It doesn't sound like you are anyways. But it's for those reasons that I would be perfectly content letting my dog socialize with a larger dog someone was walking but I would sooner cross the street than walk past a smaller dog with them.