Some of that can be genetically determined. There are variations in novelty-seeking and stimulus-seeking, determined by variations in certain receptors in brain.
Then there is Darwin, to maintain the optimal balance of such traits for the environment of the given population.