In Twelfth Night, we have discovered that a girl disguises herself as a boy in order to serve under a duke whom she loves, much to the likes of Ten Things/ Taming of the Shrew. These two stories evolve around a stubborn girl who is the subject of one person or in the Twelfth Night case, more than one person. Kate is Patrick's target, while the rest of the town of 'Orsino-ville' is deeply infatuated by Olivia. While people are captivated by love, there is always one party pooper present. In the Twelfth Night case, it's Malvolio, while in Ten Things/ Shrew's case, it's the father. These two plays may have different plots , but their characters' traits are relatively similar. The Bard's comedies are always centered on the subject of love, its misunderstandings and its ability to make people do stupid, yet funny, things. In a way, Shakespeare ridicules love to show how love can be playful, despite his tragedies' messages of love leading to death, etc.
(With the exception of Malvolio, of course... He still sees love as death-- which is humiliation, essentially for him).