Why is Moldavia split from Romania?

The Eastern part of Moldova (Basarabia - now Republic of Moldova) and the Northern part of Bucovina were occupied by the Russian invaders in 1940 after the secret pact Ribbentrop-Molotov.