The primary reason is now performance. Don't believe me? Look at how RAM is arranged on a GPU or in a game console. The RAM chips are located as close to the CPU/GPU as physically possible, limited only by thermal constraints.
You will never see DIMM slots on an NVIDIA card because the compromises would be untenable. Longer traces means lower performance, while sockets will make the cards thicker and with poorer thermals. The reasons why NVIDIA cards are the way they are correlates with why Apple's latest comptuers are the way they are.
What Apple did with packaging RAM so close to the M1/M2 chip is a big part of the Apple Silicon performance story.