how could someone be so cold and distant for nearly 4 months now ...What and the heck did I do wrong?
You have done nothing wrong. Your wife is depressed. People who are depressed often or even usually project blame onto the closest person--usually this is the spouse.
She may not be aware that she is the problem--many of them really think the other person is completely to blame--some project knowing it's not real, but many believe it.
This is NOT about you. Your wife is not well. The greater your acceptance and empathy, the easier it is to Stand.