A lot of factors go into the decline of languages in a country, but here are some events in Singapore history that led to the diminished use of Chinese dialects among the Chinese population.
When Singapore separated from Malaysia in 1965, the various racial groups were unsure of their standing in the newly-minted nation. The Chinese Chamber of Commerce, in particular, campaigned for Mandarin to be declared an official language: