It sounds like your husband can be very narcissistic and projects his unhappiness on you. This is not something you can fix as he is used to punishing and blaming others when he is not the center of attention getting constant praise and validation. Instead he never sees or acknowledges anything you/others contribute.
Does you husband drink?