There are a few reasons why PlayStation 5 consoles are still sold out.
Supply and demand: There are more people who want to buy a PlayStation 5 than there are consoles available. This has been exacerbated by scalpers and bots scooping up consoles as soon as they're available, which then sell them at a much higher price on resale sites.
Shortages: Sony has faced production shortages due to the pandemic, as well as issues with getting some of the PS5's key components. This has led to fewer consoles being available overall.
Demand: The PlayStation 5 has been one of the most in-demand consoles ever, with Sony selling more units on launch day than it did for the entire lifetime of the PlayStation 4. This high demand means that even a small production shortage can create a sold-out situation.
It's also worth noting that Sony has been deliberately restricting supply in some markets, like Japan, in order to prevent the situation where there are more consoles available than there are people who want to buy them. This is to avoid the situation where PS5s are sitting on store shelves unsold, which would be a PR disaster.