Why was Google’s Chromecast line discontinued?

Google’s Chromecast devices allowed users to cast media from their smartphones onto big screens like TVs and projectors. But, why did the dongle disappear?