People that need or crave attention are sometimes said to be 'needy'. That could be an insecure mother, a pretty girl that thinks she deserves a lot of attention, or a spoilt only son.
As it is usually seen as a negative personality trait, people prefer not to be seen to be needy. If you are concerned about how people see you, you think about how your actions might be interpreted - in this case as needy.