The behaviour is intended as far as I understand Apple’s iOS philosophy. This is to prevent bad coded apps from consuming too many recourses like RAM and battery. I guess this is also a reason why linux phones have such shorter battery life compared to android/iOS devices.
And one of the reasons POC are more likely go to jail (or even gets shot) for something a white man would be let free with only a warning… At least in the “free” land.