How does the bucket move?

How does the bucket move?

My son could not understand why Harley's bucket would always be somewhere different when he went to feed him. One morning I saw why it was always moved!!