There are a lot of things managers and coworkers can do that either strengthen or weaken team spirit.
In my experience one of the most positive is eating meals together. One of the most negative is playing favorites or improperly assigning credit for accomplishments.