My husband and sister can both be like this. I didn't know I was marrying this dynamic - it wasn't fully manifested until I said "I do" - but I am sure he felt, um, "familiar" to me, since I grew up with it. And....it absolutely sucks to be on the receiving end - it implies we choose to be with you because we hate you, we want to make you the focus of our every action, and we enjoy hurting you. REALLY IT DOES.
What kind of person would make such a choice? Why do you think we became that kind of person as a result of loving you? It's nonsense, really, isn't it? Kudos to you for being emotionally mature enough to see that piece.
If you have not always been like this, I am guessing it's post pregnancy hormonal issues. If you have always been like this, it may be chemical/hard-wired. Either way meds and counseling may help. My sister is awesome when she's on anti-depressants (I don't think she's depressed, but whatever works). My husband hasn't been willing to try meds, but counseling has helped.
Good luck to you - don't give up. You have taken a big brave step in seeing that your behavior does not make sense.
ETA: This is my husband's 3rd counselor - the 1st accomplished nothing, the 2nd did more harm than good. This one is doing good. Remember any kind of doctor, and any kind of counselor works for YOU - if you find one isn't having a positive impact on what you are dealing with, move on.