Because JavaScript often unnecessarily loads MBs of data, without contributing much to the experience - oftentimes being detrimental to the user's experience, like loading annoying ads.
It mostly comes down to speed and a lot less annoyances on some sites.