You can blame their competition for not beating them out at longterm support on that front. Apple is already leading the market supporting iOS this long. I used my last iPhone for 7 years, unfathomable on any other platform than iOS.
I hope their competitors step it up and beat Apple out on grade A support. I'm seeing them fall further behind in every metric. My iPhone 12 mini that I bought on launch day "just works".