Bravado

Bravado is ostentatious courage or reckless bravery.

A person who behaves this way is trying to impress those around them by demonstrating their courage or strength. However, this ostentatious bravado may mask fear, self-doubt, and other negative emotions.

Her bravado stemmed from a fear of the unknown and a desire to hide her insecurity from those around her.