whats wrong with him

My husband is sick idk whats up with him his soo happy for half the day then he gets super mad that he almost has hit me before idk what to do i try to calm him down but it makes it worse i need help