they were acting cool to fit in with their friends

the meaning:

Sometimes, grownups act insecure, too! Tell your parents they don’t need to act cool to be your friend. You accept them the way they are!