The latter is because it's what many 'trendy' companies are using, especially startups and those inspired by them, and the former because it's what most 'off the shelf' solutions are built in. Like WordPress, Media Wiki, Drupal, Joomla, Magento, most forum software, etc.
Those are probably used for about 90% of websites/web apps out there.