Man that is just a sucky situation all around for you, I'm sorry. It's entirely possible that his wife picked up on things and knew he had a crush on you. But even though her jealousy may have actually been reasonable, it's totally awful that she would take it out on you as if it were in any way your fault!