Was I wrong?

My grandfather passed away on Dec 18 from cancer, just two weeks after his diagnosis. I am very close to my grandparents since they lived with us until I was 14 and consider them like my parents. His death has been very difficult for me and this was my first time experiencing the death of a loved one. My sister and I took care of him his last two weeks before his passing and all of this has put considerable strain on my marriage. My husband has been mad that I have been taking on a lot since my mom and grandma felt incapable of caring for him and he felt like I should not be going thru so much stress since we have been trying to get pregnant. I understand his concerns but my grandfather needed me and I felt like I needed to be there for him. His illness took his life very quickly. He was given 3-6 months after his diagnosis but only lasted two weeks. We made all the funeral arrangements and exactly one week after he passed I had to go to the emergency room to have my appendix removed. This was on the Christmas Day, Dec 25th. I was released from the hospital the same day and my husband spent the next couple of days caring for me and making sure I was ok. My grandfathers wake was on the 28th and i felt like I was well enough to attend. The doctors told me I could start walking around right after the surgery so I felt like I would be ok. I felt like I had to be there or I would not be in peace with myself. It would be the last time I would ever see him again and I just couldn’t imagine not being there. I tried to explain this to my husband hoping he would understand but he disagreed and didn’t think it would be healthy for me to attend. I kept insisting for him to take me until he finally said “alright I’ll Fuckin take you” he got ready and we left. He was really mad the whole time and wouldn’t even talk to me. I walked into to the funeral home saw my grandfather in a casket and said said hello to family and some friends and left. We came back home and my husband said he was leaving. He said he needed some alone time and I just became an emotional wreck after that and basically begged him not to go but he still left and didn’t come back until 2am and slept the guest room. The next day was the mass for the funeral and I had a friend pick me up. I said nothing to my husband bc I was hurt. He knew what time the mass was and I believe my mom asked him if he could help carry the casket the day before but he he didn’t show up until the mass had already started. We didn’t speak to each other and he left after the mass. After the service I went to my parents house to spend time with my family and when I got home my husband wasn’t home. He didn’t come home till 4am. He has made no effort to speak to me. I understand it made him upset that I would go to the viewing after a recent surgery but I feel like he had gone overboard with his behavior. Its been a lot for me and I just don’t know what to do.