I think God has a tremendous sense of humor.
Dwight is a sad clown. You've seen those paintings of sad clown.
Humor results when society says you can't scratch certain things in public...
I come from the New York theatre world and I have a lot of gay male friends so this friendship of Will and Grace's isn't such a stretch.