If you pull either of these two blocks, this will cause a shake and change to another block. They will be moved apart. This illustration is the same with tectonic plates which are moving from time to time and affect the other plates when some of them move that causes us shakings.