HELP PLEASE

Sorry but this is long...

I've been having problems at home...

1-I'm cooped up in a tiny apartment all day. If I bring up wanting to go to work, he acts like it's ok, but then goes on to list every reason I shouldn't.

2-he makes snide comments...most of the time I laugh it off because I feel like he's just kidding but sometimes his words hurt. Its funny to make fun of that one meal I epically failed at. Its not funny to continue making remarks about how I can't cook or clean and I'm lazy because I messed up that ONE meal. (I keep the house spotless, and usually I can cook pretty well.)

3-I have to beg for attention. I only get his attention if HE wants to give it. Which, he is generous most of the time, it's just not consistent. Its all on one day, and then a whole day of me being ignored.

Now, he does tell me he loves me. He gives me a lot of attention, and for the most part, everything is great.

It just feels like Its a bunch of little things that build up until I can't stand it anymore, so I try communicating that I just need some love, and he blows it out of proportion, telling me I'm being a baby and he won't tolerate it, and then growing cold. He then will refuse to admit he's upset, saying nothing is wrong. But at that point, I'm not allowed to touch him, and he won't talk to me. If my phone dares to go off, he'll get an attitude and make remarks about how I'm "Miss Popular" and why do I need his attention when I obviously have someone else that can give me what I need. I've gotten to the point I don't talk to any of my friends anymore, just to avoid an argument...

As I type this I'm sleeping on the couch because I can't stand to be in the same bed with him when he's like this.

This seems to be a trend for once a week, every week.

What can I do to stop this vicious cycle?

I know he loves me, and I love him. I just don't know what to do anymore.