It quite literally was a reaction to iOS considering it was originally a copy of the BlackBerry OS (the older one in their keyboard phones) until the iPhone came out and they pivoted to copying iOS instead.
EDIT: to get ahead of any negative replies about them copying iOS, I’m fully aware that they work quite differently under the hood and Android has had various features before iOS, etc. I mean they were creating from a UI/UX standpoint a copy of the BlackBerry when Google bought them, and then when the iPhone came out they completely changed the UI/UX paradigm to match.