If one is developing a game for the PS5, there’s only one hardware configuration to focus on — that means no variations of CPU, GPU, storage drives, operating systems, and drivers to worry about. That spec is also more than just a mere APU - it has a properly unified memory system, not the half-hearted effort you get in laptops, plus dedicated hardware for handling data between memory and storage. Put simply, making a game for just one, fixed platform is far less complicated than it is for the PC.
PC ports are also rarely given the same amount of development time and resources as the original console version was given, even in cases where it’s a concurrent cross-platform title. And that’s down to money — the console version is more likely to generate revenue than the PC one and it has to, in order to cover the licensing fees and development tools costs.
While there are certainly going to be some individuals out there who could be classed as being lazy workers, painting the entire field with the same brush ignores the absolute minefield that PC game developers have to tip-toe through in order to get the title to run as well on that platform as it does on a console.