Games mostly deal with an API and thats a pretty advanced one (several) by now. There are more variables to account for sure, but a lot has been streamlined or taken out of the equation too. Its very strange that multiple decades of growing up led us to a worse state of releases. Its also strange that a large number of issues are (in-)directly caused by not game code but nonsense around it: always online, shop and account functionality, active DRM, anti cheat, etc etc.
All of it originates from greed before quality product. After all if its NOT greed, you can really only chalk it up to much worse assumptions: devs got stupid; or we devved ourselves into a hole; or the uniform path of progress isnt actually progress but stuff slowly falling apart... or a lot or people stopped actually giving a shit about whatever it is they do because game dev feels like working in a hamburger joint and no longer like an artistic/skill based achievement...
Or... its a bit of all of these things combined