The reason for the different traditions of frequency of communion is that there are a wide variety of views within Christianity about what communion actually is. It is so widely disagreed over that Christians often can't agree over what name to call it. The different theologies give rise to different practices of communion, including different frequencies.
It would be far too long and complicated to discuss in detail the different views of communion here. This Wikipedia article gives a reasonable overview, and I will attempt to pull out some salient points.
The Catholic view of Mass (which differs slightly in a technical way from communion, but which we will treat as the same thing for this answer) is that in the Mass the body and blood of Jesus become actually present. Moreover the Mass is an actual sacrifice by the participants, by which the benefits of the sacrifice of Jesus on the Cross are made available to the participants. (I will state here, because of common misconceptions, that this does not imply that the sacrifice of the Mass either adds to or replaces the ultimate sacrifice of Jesus). While the details are complex, the implication of this is that participation in the Mass is beneficial in and of itself. This explains the Catholic practice of attending Mass frequently - once a week for normal members and even more frequently for priests and other religious. Each attendance brings with it benefits, and the more frequently it is done the better.
At the other end of our oversimplified spectrum is the view that communion is simply a memorial - a ritual in which each person remembers the sacrifice and death of Jesus. This was the view espoused by Zwingli, and is generally held by Baptists and similar churches. It is usually referred to as Memorialism. The benefit of participating in this memorial is limited to the extent to which it is helpful to the individual, producing thoughts and feelings that assist the participant's spiritual life. Because there is no intrinsic benefit to attending a service of communion, frequency of attendance is much less. It was thought that since the effects were dependent on the state of the participant's mind, then over-frequent attendance was counter-productive and seen as idolatory by the reformers.
Many churches hold different views to those, and they can roughly be arranged on a line from 'real presence' to 'entirely symbolic'. Frequency of attendance is typically reasonably correlated with being close to the 'real presence' end. Anglicans and Lutherans typically believe in the 'real presence' without necessarily endorsing the doctrine of transubstantiation, and typically celebrate weekly, with celebrations more frequent than daily being discouraged for everyone. Memorialist churches tend to celebrate once a month, or a few times a year.
I might mention a few outliers from this pattern: the Salvation Army, which does not celebrate communion at all (thanks to its origins in as a para-church rather than a church organization, and its strongly anti-alcohol stance) and the churches that associate communion strongly with the Jewish Passover, and celebrate communion once a year.
We know the very early Church shared communion at least once a week, from their specifically celebrating the resurrection on the first day of each week, and the description we have of them celebrating the sacrament whenever they were gathered together. By the middle of the fourth century AD the Eucharist was given in what is more or less the modern Catholic and Orthodox forms, though the various Eastern Rites probably developed slightly before the Latin Rite (ibid). The older weekly celebration corresponds more to the modern Sacramental frequency than to the Memorial frequency, which makes sense since the early Church held the Eucharist to be sacramental in nature (additional citation).