I believe the answer is: A person's attachment style starts to be set by about six months of age.
The attachment style usually being implemented by the infants toward the person who they perceive as a primary caretaker. During its earliest development, this would make the infants become distressed/anxious every time their primary caretaker is away from them.