A little boy with a red baseball cap is on a bus with boys with yellow baseball caps on.
There are people watching the bus pass by
If you are watching a bus pass, you are not on the bus.
If people are on a bus they are not watching the bus pass.
The subject is either the little by on a bus or people watching the bus pass.