Because it costs them money to maintain it, and they'll make more money when people upgrade to M series?
In all seriousness, it's a little lame. Consider that the Intel Mac Pro (2019 model) was still selling in 2023! That's not that long ago, and those were their highest end machines in terms of memory capacity. The "new" Mac Pro has since been discontinued...