A study of plate tectonics and magnetic fields on rocky planets shows why Earth is the right size for these processes to occur, making it amenable to life