1. He passed the bakery and met one of his friends.
2. He passed a stream and became wet.
3. He passed a stream and found a bakery.
---------------------------
In #2, he passed through a stream. What about in #3? Did he pass through a stream or not? Did he walk by a stream and found a bakery?
1 answer
To me, all of them mean he walked by or next to a stream. If you mean that he walked through it and got wet, then you'll need the preposition "through" there, not "by."