I feel it's my fault

I love my husband more than anything but for 2 weeks now we haven't had sex no more then 3 or 4 times a week. My depression has gotten worse and ever since iv been with my husband I try not to show it, he knows about it but I try not to mention it because of my fear from my past. Anyway ever since my depression started my sex drive has gone down which he gets frustrated by, which then gets me mad and more upset. He says in text that our sex life is over even though he doesn't even know im depressed and just don't have a drive right now. Am I in the wrong? Or not? What do I do? Or tell him in a calming way without both our frustrations snapping?