I grew up in a family where many of our close friends were gay couples. As well as that, every man goes through a period of thinking they're attracted to another guy. ↗
But it also became the experience, or was the experience, of the writers who were attracted to this kind of humor. They're all men or women who come from the same kind of experience in their own lives. ↗