I see that something I wrote was pretty unclear.
What I meant by
Animal behaviors can generally be explained from the standpoint of passing on genes
was that even the emergence of collectives can be explained by that kind of rational self interest. The implication being that there isn't really any room left for the collective to express any agency.
In other words, what is it these collectives are doing? What preferences or actions are they expressing?