in refers more to clothing
The girl in the red coat is my cousin.(because the coat surrounds her)
with implies togetherness
She is here with her friend. She is here with her books. She is here with her glasses.
The girl with books is my cousin.
We treat objects other than clothes this way. You are in your clothes but these other possessions are just with you.