There are various kinds of SEO - internal: technical, on-page and external. A long time ago Google had an epiphany that instead of trying to make sense out of sites themselves they could offload that effort to website administrators and started ranking pages how well they implement technical elements helping Google index the web. For a very long time that was synonymous with white-hat SEO. Since Google search was in part based on web-of-links, various shady tactics to inflate number of indexed backlinks and boost rankings. That was black-hat SEO.
These days Google search puts tremendous focus on on-page SEO. So much that as long as the internal structure of a site is indexable (no dead links, internal backlinks, meta info) it is typically better to hire copywriters spitting out LLM-like robotic mumblings than to try and optimize further.
When the 'trusted websites' caught on and embraced the game, Google was apparently helpless to stop it.
I think it's more likely that Google stopped really caring.