Testosterone does lots of things. It seems to be a driver of dominance-seeking behavior as well as sex-seeking behavior.