It was costing more than a Ryzen 7 3700X which also came with a much better cooler too. I found the flip-flop really weird with Zen3. People were saying how Zen2,even though it lost in per core CPU performance(and gaming performance),offered you more cores for the same price than Intel. Hence,Intel wasn't worth the premium per core.
The moment AMD eeks out Intel in single core performance(and gaming performance),that all went out the window,and nobody cares about price/performance.....apparently. Something like the Core i5 10400F/Core i5 10600KF/Core i5 11400F all at various times have offered much better value than a £250~£280 Ryzen 5 5600X. Once Intel brought the B560,and you had decent ones like the MSI B560M PRO-VDH for £90~£100,even the argument you needed a very expensive Intel motherboard was not quite true anymore.
But because it was all AMD,so many just forgot about the Core i5 10400F - I got a Core i5 10400(the one with an IGP) for only £100. With some tweaking its probably as fast as my Ryzen 7 3700X in many games.
Also,last time I checked overall Intel sells far more desktop CPUs than AMD does,especially when you look at sales marketshare.
The Ryzen 5 5600X was the Ryzen 5 3600 replacement. Same 65W TDP and same Stealth Spire CPU cooler. AMD never really released a Ryzen 5 3600X replacement at 95W TDP.
They also at the same time,never really replaced the 95W Ryzen 3600X.