I've seen this happen but it's really interesting that you say this is cyclic/it always falls into this pattern for you.
Have you found that reaching out to individual people in the group to be worthwhile?
I often find it hard to make/maintain meaningful connections in these groups (and the "people care less about what I have to say" etc feels relatable), but I've had great success with just asking individuals like "wanna grab coffee/lunch sometime" either 1 on 1 or in a group of 3. It can be kind of awkward, and there's always a sense of "Oh you guys were hanging out? Why didn't you let me/XYZ know!" but I just embrace that and it's been a much better way for me I think to make close friends.