Simple physics.
A car pass by and spray a big nonsticky plastic dirt onto your lens, since you point it upward it will stay there becuase of friction or static electricity. when next time you point your cam horizontal and the dirt is gone due to gravity.