I shipped a game, "Hover!", on the Windows 95 CD-ROM. It was shipped prior to Direct Draw--using the WinG library. It ran on every CPU level supported by Win95 (386sx through Pentium).
Last I checked it still ran on Windows 10, and I have no doubt it still runs on Windows 11, 30 years after release.
I have an iPad Air2--circa 2015. During that time Apple forced all apps to upgrade to 64 bits. 32-bit apps were deprecated. iOS refused to run them. It impacted my ability to use the device for the purpose for which I bought it--controlling a Mackie digital mixer and related app-controlled output processors. And they completely stopped supporting new iOS versions on it years ago.
Both Apple and Google have a cavalier attitude about breaking compatibility. It takes a significant investment in time, money, and culture of software development to maintain compatibility across 30+ years of an operating system.