Strictly in the English law of murder, the prosecution did not need to show a motive but, if it did not, it needed to prove the offence by demonstrating precisely how the killing was carried out.
The legal definition of murder in England and Wales does not require a motive to be proven by the prosecution. However, they must still demonstrate how the killing occurred.