No real spoiler here, but in the books it was made clear that Tywin was deeply in love with his wife, and that while "Tywin ruled the land, Joanna ruled Tywin." His brother remarks that he was never the same person after she died. So yes, her death is a very big part of why he hates Tyrion.