What led Albert Einstein to remark, “I shall never believe that God plays dice with the universe”?

It was brought on by the awarding of the 1932 Nobel Prize in physics to Werner Heisenberg for his uncertainty principle.

The principle states that you cannot accurately know both the position and momentum of an atomic particle at the same time.

Einstein believed that the principle made a mockery of cause and effect.