Husband gets mad coz of our dogs???! (Venting)

When we first met i already have 2 dogs... He used to love them and take care of them... Now that were married he gets mad at them because they accidentally pees on the floor but i'm clean them not him... When we travel i have to ask a friend to take care of them or my family but he gets mad because we have to do all those troubles before we travel... He said to me today someday i will made you choose between your dogs or me! I want a happy marriage... Not like this fighting on small things... Instead of fighting why cant we just solve it...