Evolution explains behaviour as the result of genetics passed down from ancestors.
In which, those who survived in the environment of evolutionary adaptation (EEA) passed on their genes.
E.g. 1 Phobias support the theory of preparedness, as humans quickly develop fears of fires, heights, dangerous animals, deep water which may have protected ancestors from harm.
E.g. 2 Anorexia may have been adaptive, as individuals with the condition tend to feed others, conserve food and excessively exercise, which aided hunting and supported family survival.