I'm pretty sure software is a major factor. My Android phone is currently 5 years old and never done anything like that before. Neither have any of my Android phones in the past.
If this is some law of physics, then why did it only happen to Apple phones?