As a current student this is a huge part of it.
People with androids (green messages) will not be added to group chats because it turns everyone else's messages green. When making plans they will usually get texted individually but it can unintentionally lead to exclusion.
Texting someone with an android is much less convenient than using an iPhone and anecdotally this is one reason kids choose iPhones over Android.