My explanation of the 1947-1979 middle class bulge is the spoils of World War II for the United States. It gained brain power (smart immigrants), oversees market domination, and a premium on capital (other countries capital and people destroyed by war).
Those spoils paid high wages for the US middle class because it needed those workers for its factories and companies. After a few decades the advantages of the spoils of war evened out with other countries (catch ups in capital, education, strong legal systems) and technology for outsourcing and cheap shipping broke up the US middle classes prior monopoly on US factory/company jobs.