My understanding is that it's fundamentally a fab capacity limit. At a given node size/technology (think 7nm, etc) they can only output so many wafers. If AI data centers are generating enormous demand for memory, then that's what those wafers are going to be used to for, unless they can be outcompeted, hence higher prices.
I'm not actually sure if enterprise designated memory is equivalent or not to consumer designated. Could be they are the same just packaged differently and/or with better binning. Either way, it's the same supply/demand dynamic at work.
Typically (not always!) server memory is 'registered' so won't work with consumer CPUs which run on un-registered.