They probably make fewer 7950X chips, so it's not hard to believe they'd seem to be in scarcer supply. The 7700X having a more reasonable price probably takes some sales from the 7600X as well, whereas the 5600X was such a good deal compared to the 5800X that even when every other Zen 3 CPU was out of stock you could still pick up a 5800X.
At least AMD can adjust their product mix. There might be some chiplets artificially cut down to a 7600X that could go in a 7700X or a 7900X instead. I wouldn't be worried about a temporary dip in stock prices. AMD is in a good position with their products, and as long as they maintain that they stock prices will bounce back. Too many people get panicked at the first sign of bad news.