Rule number one. Never approach anything faster then your willing to hit it.
Rule number 2. When in doubt see Rule 1.
But in all seriousness any number of things can affect docking. Or moving.
When the Titanic was departing one of her ports, she pulled a nearby ship towards her, breaking her...