I feel like I’m stuck in the middle

What do you do when your husband complains you spend too much time with your parents.

My parents have been going through a tough time right now my brother got in some trouble with the law and I’m trying to be there for my parents but my husband doesn’t understand. He goes out to hang out with friends and camping and I never complain. I grew up being close to my family and I feel like he doesn’t understand because his family isn’t like that. This has caused so many arguments I really don’t want to split up because we have a child together