We do use both, actually. " However, "on the street" tends to be pretty much limited to this type of construction. "In the street" is the idiomatic expression, and it does not really make sense, because, as you mentioned, things happen on the surface of the street, not "in" it.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.