I don't think there's a universal reason for all the ruins, you have to look at them from at a case-by-case basis.
The Ayleid ruins in Cyrodiil should be obvious, while those in Valenwood became abandoned after their culture declined due to being assimilated into and simply outnumbered by the Bosmer.
Dwemer ruins should also be quite obvious.
The ruined Xanmeers dotting Black Marsh we know for a fact come from a time when the Saxhleel viewed Sithis as a destructive force and sought to fight against Change by creating stone structures, before Duskfall happened and their society went from opposing Change to embracing it.
The Direnni and Ayleids in High Rock were displaced by the emerging Bretons, leaving their ruins behind. Hammerfell's Yokudan ruins are mostly Necropolises, from what I recall, so not really places where people live anyway.
Morrowind's ruins are all from the time of Chimer Daedra worship, which is - to put it lightly - frowned upon by the Tribunal Temple.
Skyrim's ruins are similar, in that a lot of them are either literally tombs, or were built by and for the Dragon Cult in the Merethic, which is not exactly good vibes in the modern Eras. Saarthal is a notable exception, but we also know that excavation of it really only started in the 4th Era, while other "ancient" cities (notably Windhelm) are still inhabited to this day.
I don't think there's a universal reason for all the ruins, you have to look at them from at a case-by-case basis.
The Ayleid ruins in Cyrodiil should be obvious, while those in Valenwood became abandoned after their culture declined due to being assimilated into and simply outnumbered by the Bosmer.
Dwemer ruins should also be quite obvious.
The ruined Xanmeers dotting Black Marsh we know for a fact come from a time when the Saxhleel viewed Sithis as a destructive force and sought to fight against Change by creating stone structures, before Duskfall happened and their society went from opposing Change to embracing it.
The Direnni and Ayleids in High Rock were displaced by the emerging Bretons, leaving their ruins behind. Hammerfell's Yokudan ruins are mostly Necropolises, from what I recall, so not really places where people live anyway.
Morrowind's ruins are all from the time of Chimer Daedra worship, which is - to put it lightly - frowned upon by the Tribunal Temple.
Skyrim's ruins are similar, in that a lot of them are either literally tombs, or were built by and for the Dragon Cult in the Merethic, which is not exactly good vibes in the modern Eras. Saarthal is a notable exception, but we also know that excavation of it really only started in the 4th Era, while other "ancient" cities (notably Windhelm) are still inhabited to this day.
I agree with this. It's either because of extinction, decline, or cultural shift (like Xanmeer architecture - > mud structures). Another one to add to the above is Nedic ruins, we see a lot of them around Craglorn, and their civilization apparently declined and was assimilated to other cultures.