No. RAM prices skyrocketed because the major manufacturers that supplied the consumer market shifted their production capacity toward AI data centers, creating a supply shortage in the consumer market. This effectively turned RAM into a high-demand commodity rather than the relatively accessible consumer product it once was.
RAM continues to be expensive because competing manufacturers have not stepped in to meaningfully increase supply for the consumer market. Instead, manufacturers are prioritizing the substantially more lucrative AI data center market, leaving consumers with fewer options and less competition for available supply.
Judging by the title of your post, I'm convinced you don't understand what competition actually means in the context of economics. Competition isn't simply the existence of multiple companies. It's the willingness and ability of those companies to enter a market, increase supply, and compete for consumers by offering better prices.