Earlier quoted context omitted.
They were fighting Japan at the time, were unable to fight a war on two fronts and Britain had at that point chosen to follow a strategy of appeasement towards the Nazis. And your idea is that they had zero reason to fear invasion from the west? Even though that is precisely what happened just a few years later?
First of all this were USSR-Japan skirmishes not war, second they did not have to worry about Japan as was shown by Soviet–Japanese Neutrality Pact of April 1941, third if they were worried about Japan then "spending" army on invasion of Poland, Finland, Baltics, Bessarabia were counter productive, fourthly at the time of Ribentrop Molotov pact Britain ceased following appeasement strategy as shown by declaring war t…
...two years after Molotov Ribbentrop.
If they had nothing to worry about Japan it logically follows that they had nothing to worry about Hitler either as was shown by the Molotov Ribbentrop pact.
In 1939 the Soviet military was a disaster, also. It's difficult to overstate just how exposed they were.
>Furthermore historian believe that Stalin knew that confrontation w/ Germany is inevitable
They were right to be afraid.
>In summary - Soviets and Nazis were allies till 1941 -
In summary, out of fear which was entirely legitimate. Fun fact: the only difference between them and Finland is that Finland gets excused for allying to Hitler out of fear by its western allies.