Why Did the Battle of Hastings Happen?

The Battle of Hastings happened due to a dispute for the conquest of England between the army of Duke William of Normandy and the English army.