I'm just going to say: I bet it will eventually come out that RAM prices are yet another instance of illegal cartel collusion. For which all the RAM manufacturers have been convicted. More than once! If past incidents are any indication anytime there is a perceived "hot" market the RAM makers agree to limit production to current levels allowing market demand to increase prices, followed by production cuts if the market starts to soften.
GPU is a function of limited manufacturers and vendor lock-in combined with massive capex required to compete(). Like some (but not all) price inflation during and post COVID: rising prices can become a self-fulfilling prophecy. If all your customers expect prices to rise might as well meet their expectations and get while the gettin' is good.
() Like a new CPU architecture only worse. The amount of engineering required as "table stakes" increases exponentially while at the same time the manufacturing expertise does the same. This suddenly and rapidly raises the barrier to entry. Anyone who can survive the early squeeze can do quite well in such markets.