The stationary object is the street light in Program mode VS. Auto

The Moving object is a wind catcher in front of a fan.

The close subject is the plant.

It's interesting that the exposure time effects the focus, I spent some time experimenting with this.