Population-dependent conflict between individual sociability and aggressiveness