I have a theory that Google killed flash so that they could index the web more effectively. There were many old websites that were entirely made in flash (or java applets), and the content that Google needed to scrape was buried inside a binary flash file. Flash had security vulnerabilities? News flash: So do javascript engines.
while that might be true, its probably more true that they want to own the internet (see: nonstandard changes within chrome, forcibly making chromium dominant, the AMP debacle)
and adobe SWF files aint google