Simply put, because Congress has determined that it is permissible. Through a 501c7, individuals can join together and provide themselves with recreational or social opportunities without additional tax consequences.