Flash is discontinued primarily due to security concerns and poor performance. The widespread usage of Flash made it a prime target for hackers, necessitating frequent updates from Adobe to address vulnerabilities. Additionally, Flash content often resulted in high CPU usage, leading to a subpar user experience.