I think there are many factors that, in sum, build up one's attachment and future well being. Environment factors like socio-economic class, and culture can effect this. Things like race, religion, looks (genetic factor) also effect this. When a child is developing, almost anything that impacts behavior could impact the well-being later in life.