Those were driven up by scalpers during the crypto stuff. The manufacturers were still selling their cards for a reasonable amount, you just couldn't get one because scalpers and crypto farmers had bot armies gobbling up supplies.
The ram pricing is coming directly from manufacturers.