Mostly because Mongolia was, to some extent, a creation of the USSR.
Although Outer Mongolia had declared its independence at the time of the 1911 Chinese Revolution, the Republic of China had made moves to reclaim the territory (technically the Republic of China has still not given up claims of sovereignty over Mongolia). Chinese troops had made some progress on this front until the outbreak of the Russian Revolution and Russian Civil War really stirred the pot.
A White general, Baron Ungern-Sternberg, was based largely around the Russian Far Eastern Railway in Manchuria, and in 1919 he pushed out the Chinese forces from Mongolia and assumed control of the area as warlord (and as part of a larger strategy to attack the Baikal region). I believe he was more or less supported in this adventure by the Japanese, who occupied a large chunk of the Russian Far East during the Civil War period.
Once the Japanese finally withdrew, and the Red Army/Bolsheviks had defeated the larger White armies, they eventually set their sites on Mongolia, which was invaded and occupied in 1921 (Ungern-Sternberg was captured and executed). A Bolshevik-inspired Mongolian People's Party assumed control of the area, but kept the Bogd Khaan, the Buddhist leader who had originally declared independence ten years earlier, on as head of state.
When the Bogd Khaan died in 1924, a Mongolian People's Republic was established. It roughly followed the timeline of Soviet history from then on, attempting collectivization in 1928, conducting its own Great Purges, and joining in the Second World War (the Battle of Khalkyn Gol in 1939 was between the Red Army and its Mongolian allies and the Imperial Japanese Army). It pretty much continued on this mirror path until Gorbachev's reforms led to Mongolian perestroika and glasnost, and the communist regime was overthrown in a popular revolution in 1990.
Throughout this period, there was a significant Soviet military presence in the country. As late as 1990 there were some 55,000 Soviet troops stationed there.
For a long time, it was considered a Soviet satellite/puppet state, especially by China. It took until 1961 for Mongolia to be admitted to the UN as a member state largely for that reason (unfortunately I'm not sure what exactly changed China's mind on that particular point).