I'm still trying to understand why a person would wear a wig to hide their hair, what's the religious reason behind it ?

I mean a hijab...I understand it's to protect the woman from men etc...but a wig ? Isn't it the same as showing ur own hair ?