What I have gathered:
Queen genetics will have some effect on all the habits/behaviours of her offspring not just behaviour but all aspects.
Queen pheromone will have an impact day to day.
Weather will impact bee "aggression" temperature, rain etc.
Poor handling will affect aggression, rough handling, squashing bees etc.
Don't stand in front of the entrance, wont necessarily cause aggression but increases chances of bees coming in contact with you.
Smoking judiciously used is good.
I am sure there are other things!