Stroking one's hair is a common and often subconscious behavior that can have various meanings and effects.
It can be a sign of comfort, relaxation, or deep thought. It can also be a way to self-soothe or to regulate emotions. Additionally, hair stroking has been shown to have calming and therapeutic effects, and it may even promote hair growth.